Closed frbattid closed 8 years ago
Same as do subscriptions, a user can ask for latest subscriptions or unsubscribe. Next steps could be:
/v1/subscriptions
/v1/unsubscribe
I like the idea, specially unsubscribe.
/v1/subscriptions
)/v1/subscriptions?ngsi_version=1|2&subscription_id=<id>
)/v1/subscriptions?ngsi_version=1|2&subscription_id=<id>
) |____ Added documentation: https://github.com/telefonicaid/fiware-cygnus/pull/973/v1/subscriptions?ngsi_version=1|2
)Updated documentation (.apib & .md) in https://github.com/telefonicaid/fiware-cygnus/pull/1000
Updated .html in branch gh-pages
-> https://github.com/telefonicaid/fiware-cygnus/pull/1003
Added tests for POST subscriptions -> https://github.com/telefonicaid/fiware-cygnus/pull/1039
Added test for DELETE subscriptions -> https://github.com/telefonicaid/fiware-cygnus/pull/1041
Added tests for GET (by subscpription_id) subscriptions -> https://github.com/telefonicaid/fiware-cygnus/pull/1046
Added GET method for retrieve all subscriptions https://github.com/telefonicaid/fiware-cygnus/pull/1060
Added tests for GET all subscriptions -> #1062
Added documentation for GET all subscriptions -> https://github.com/telefonicaid/fiware-cygnus/pull/1065
Operations to implement:
POST /v1/subscriptions?ngsi_version=1|2
(creates a new subscription)DELETE /v1/subscriptions?ngsi_version=1|2&subscription_id=<id>
(deletes a subscription given its ID)GET /v1/subscriptions?ngsi_version=1|2
(gets all the subscriptions fot the authenticated user)GET /v1/subscriptions?ngsi_version=1|2&subscription_id=<id>
(gets a subscription given its ID)