Versions Compared

Key

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

This documents the possibility to interact with the admin system using REST calls (GET, POST, PUT, PATCH, DELETE) allowing automation of tasks like creating projects and users.

...

All resources can be accessed using HTML, XML or JSON formats. 

This is a separate API from the normal REST API and the base url should be the same as the admin system you are trying to access.

E.g. the link http://[url]/projects gives the normal HTML project listing while http://[url]/projects.xml gives the same list in XML format and http://[url]/projects.json gives the list with project and project users in JSON format.

Some resources (notable users) has dots (.) in their resource names so the .json can not be used. Be sure to send "Accept: application/json" in the header instead so 

...

ResouceDescription
/node/loginsGet login statistics for projects for the last 5 years, grouped by type of client used(Revit, dRofus etc.)
/node/logins?from_date=2018-01-01&to_date=2019-12-31Get login statistics for projects for the given time period, grouped by type of client used(Revit, dRofus etc.)
/node/unique_usersGets number of unique users for each project for the last 5 years
/node/unique_users?from_date=2018-01-01&to_date=2019-12-31Gets number of unique users for each project for the given period.
/project_data?from_date=2018-01-01&to_date=2019-12-31Get statstics values on projects, to_date and from_date are optional limits on date
/password/request_resetA post request with a valid username will trigger a password reset email
/password/resetUse this with a token to change password with the API

...