Package org.fiware.ngsi.api
Interface SubscriptionsApi
@Generated(value="org.openapitools.codegen.languages.MicronautCodegen",
date="2024-08-06T06:12:43.920683610Z[Etc/UTC]")
public interface SubscriptionsApi
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<Object>
createSubscription
(SubscriptionVO subscriptionVO) io.micronaut.http.HttpResponse<Object>
removeSubscription
(URI subscriptionId) io.micronaut.http.HttpResponse<SubscriptionVO>
retrieveSubscriptionById
(URI subscriptionId) io.micronaut.http.HttpResponse<SubscriptionListVO>
retrieveSubscriptions
(Integer limit) io.micronaut.http.HttpResponse<Object>
updateSubscription
(URI subscriptionId, SubscriptionFragmentVO subscriptionFragmentVO)
-
Method Details
-
createSubscription
@Post("/subscriptions/") @Consumes("application/ld+json") @Produces("application/ld+json") io.micronaut.http.HttpResponse<Object> createSubscription(@Body SubscriptionVO subscriptionVO) -
removeSubscription
-
retrieveSubscriptionById
@Get("/subscriptions/{subscriptionId}") @Produces("application/ld+json") io.micronaut.http.HttpResponse<SubscriptionVO> retrieveSubscriptionById(@PathVariable(name="subscriptionId") URI subscriptionId) -
retrieveSubscriptions
@Get("/subscriptions/") @Produces("application/ld+json") io.micronaut.http.HttpResponse<SubscriptionListVO> retrieveSubscriptions(@Nullable @QueryValue("limit") Integer limit) -
updateSubscription
@Patch("/subscriptions/{subscriptionId}") @Consumes("application/ld+json") @Produces("application/ld+json") io.micronaut.http.HttpResponse<Object> updateSubscription(@PathVariable(name="subscriptionId") URI subscriptionId, @Body SubscriptionFragmentVO subscriptionFragmentVO)
-