Skip to content

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

Description

@flopezag

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions