Package org.fiware.ngsi.api
Interface ContextSourcesApi
@Generated(value="org.openapitools.codegen.languages.MicronautCodegen",
date="2024-08-06T06:12:43.920683610Z[Etc/UTC]")
public interface ContextSourcesApi
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<Object>
createCSourceSubscription
(SubscriptionVO subscriptionVO) io.micronaut.http.HttpResponse<ContextSourceRegistrationListVO>
queryCsources
(String id, String idPattern, String type, String attrs, String q, String georel, String geometry, String coordinates, String geoproperty, Integer limit) io.micronaut.http.HttpResponse<Object>
registerCsource
(ContextSourceRegistrationVO contextSourceRegistrationVO) io.micronaut.http.HttpResponse<Object>
removeCsource
(URI registrationId) io.micronaut.http.HttpResponse<Object>
removeCSourceSubscription
(URI subscriptionId) io.micronaut.http.HttpResponse<ContextSourceRegistrationVO>
retrieveCsource
(URI registrationId) io.micronaut.http.HttpResponse<SubscriptionListVO>
io.micronaut.http.HttpResponse<SubscriptionVO>
retrieveCSourceSubscriptionsById
(URI subscriptionId) io.micronaut.http.HttpResponse<Object>
updateCSourceSubscription
(URI subscriptionId, SubscriptionFragmentVO subscriptionFragmentVO)
-
Method Details
-
createCSourceSubscription
@Post("/csourceSubscriptions/") @Consumes("application/ld+json") @Produces("application/ld+json") io.micronaut.http.HttpResponse<Object> createCSourceSubscription(@Body SubscriptionVO subscriptionVO) -
queryCsources
@Get("/csourceRegistrations/") @Produces("application/ld+json") io.micronaut.http.HttpResponse<ContextSourceRegistrationListVO> queryCsources(@Nullable @QueryValue("id") String id, @Nullable @QueryValue("idPattern") String idPattern, @Nullable @QueryValue("type") String type, @Nullable @QueryValue("attrs") String attrs, @Nullable @QueryValue("q") String q, @Nullable @QueryValue("georel") String georel, @Nullable @QueryValue("geometry") String geometry, @Nullable @QueryValue("coordinates") String coordinates, @Nullable @QueryValue("geoproperty") String geoproperty, @Nullable @QueryValue("limit") Integer limit) -
registerCsource
@Post("/csourceRegistrations/") @Consumes("application/ld+json") @Produces("application/ld+json") io.micronaut.http.HttpResponse<Object> registerCsource(@Body ContextSourceRegistrationVO contextSourceRegistrationVO) -
removeCSourceSubscription
-
removeCsource
-
retrieveCSourceSubscriptions
@Get("/csourceSubscriptions/") @Produces("application/ld+json") io.micronaut.http.HttpResponse<SubscriptionListVO> retrieveCSourceSubscriptions(@Nullable @QueryValue("limit") Integer limit) -
retrieveCSourceSubscriptionsById
@Get("/csourceSubscriptions/{subscriptionId}") @Produces("application/ld+json") io.micronaut.http.HttpResponse<SubscriptionVO> retrieveCSourceSubscriptionsById(@PathVariable(name="subscriptionId") URI subscriptionId) -
retrieveCsource
@Get("/csourceRegistrations/{registrationId}") @Produces("application/ld+json") io.micronaut.http.HttpResponse<ContextSourceRegistrationVO> retrieveCsource(@PathVariable(name="registrationId") URI registrationId) -
updateCSourceSubscription
@Patch("/csourceSubscriptions/{subscriptionId}") @Consumes("application/ld+json") @Produces("application/ld+json") io.micronaut.http.HttpResponse<Object> updateCSourceSubscription(@PathVariable(name="subscriptionId") URI subscriptionId, @Body SubscriptionFragmentVO subscriptionFragmentVO)
-