...
URL | Swagger Gui | Swagger JSON | Note |
---|---|---|---|
https://api-no.drofus.com | API documentation and test it in web GUI | Open API Specification | use for db2.nosyko.no projects |
https://api-eu.drofus.com | API documentation and test it in web GUI | Open API Specification | |
https://api-ca.drofus.com | API documentation and test it in web GUI | Open API Specification | |
https://api-us.drofus.com | API documentation and test it in web GUI | Open API Specification | |
https://api-au.drofus.com/ | API documentation and test it in web GUI | Open API Specification |
For API versions newer than 4.20, urls should contain database and projectId. Ie. when previously getting rooms from http://xxx/api/rooms, now rooms should be read from http://xxx/api/database/projectid/rooms
Authentication
Currently we support bearer tokens and basic authentication (username and password). If you would like to use tokens - please reach out to support@drofus.com and we can provide needed information..
Providing database and projectId
...
All API endpoints should provide database and project id as part of the url. E.g. https://api-xyz.com/database/projectId/api/rooms
[Deprecated] Providing database and projectId in basic auth
Currently it is still possible to add database and project id as part of username when using basic auth. This is deprecated and not recommended. But still needed if you want to see the project specific API documentation in swagger.
Name | Meaning |
---|---|
db-name | The database-name as you would enter in dRofus Client |
project-id | Id of project. Usually '01'. This is optional only if database only contains one project |
user-name | The name you log on with in dRofus client |
language | The language you want to see data in. Optional, and default is the language configured for the database |
...