buildingSMART / bSDD

The buildingSMART Data Dictionary repository, where we publish the documentation, examples and more. We don't publish here the data, the source code of the bSDD service or the front end of the website.
https://www.buildingsmart.org/users/services/buildingsmart-data-dictionary/
MIT License
135 stars 36 forks source link

the system does not authorize my graphql query #50

Closed c4rlosdias closed 1 year ago

c4rlosdias commented 1 year ago

unauthorized I made a simple query using the address: https://api.bsdd.buildingsmart.org/graphql

, and the system responds with code 401, unauthorized. Is some kind of authorization required to query this way? The documentation says that you don't need any kind of authorization! Thanks in advance.

VladimirAlexiev commented 1 year ago

https://test.bsdd.buildingsmart.org/graphql doesn't need authentication. The production endpoint does.

Baars-IT commented 1 year ago

Vladimir is correct: the production endpoint is secured: https://api.bsdd.buildingsmart.org/graphqls (note the "s" at the end). The documentation was not very clear about this (it was mentioned), updated the documentation: https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20and%20GraphQL.md.

In the bSDD API documentation (https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20API.md) you can find more info how to access secured APIs and GraphQL.