Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIWARE-NGSI v2 Swagger Specification - omissions for working with subscriptions #16

Open
flopezag opened this issue Dec 20, 2021 · 0 comments

Comments

@flopezag
Copy link
Member

I get an empty set when trying to request a subscription list as documented here https://swagger.lab.fiware.org/#/Subscriptions/List%20Subscriptions:

$ curl -i --insecure -X GET 'https://localhost/v2/subscriptions' -H 'X-Auth-token: 577...82b'

HTTP/2 200
server: nginx/1.18.0 (Ubuntu)
date: Thu, 11 Nov 2021 12:26:22 GMT
content-type: application/json
content-length: 2
fiware-correlator: 94aaac08-42ea-11ec-a8c9-0242ac1d0006
strict-transport-security: max-age=63072000
[]

If we add the fiware-servicepath and fiware-service headers the problem is resolved.

Maybe useful to add to the Swagger spec for the future? I think I was caught out with the same issue some months ago too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant