Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


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 use basic authentication (username and password). Username is

Providing database and projectId in username

Preferably, database and projectId should be specified in URLs, but we still support providing it in usernames, on the form <db-name>/[project-id/]user-name[/language], where: 

...

NameMeaning
db-nameThe database-name as you would enter in dRofus Client
project-idId of project. Usually '01'. This is optional only if database only contains one project
user-nameThe name you log on with in dRofus client
languageThe language you want to see data in. Optional, and default is the language configured for the database

...

Queries

We model our query-syntax on the OData standard, but currently only support a small subset of it. 

...

Code Block
languagexml
<http://localhost/api/database/01/rooms?$skip=1&$top=1>; rel=\"next\">

...