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.

...

This is a separate API from the normal REST API and the base url should be the same as the admin system (i.e. https://adm-us.drofus.com/) system you are trying to access.

...

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

...

Code Block
// Post to {server}/password/reset
{
	"token": "5f2pi2zW7wO3nodwWznmDQ",
	"password": "pass",
	"password_confirm": "pass"
}

Project statistics

ResourceComment
/project_dataGives project statistics over time
/project_data/latestGives you the latest project statistics for each project

Filters



from_date=[date]Only for /project_data, gives you only data where time is greater than the given date
field=[field]Only for specific field
owner=[owner_id]Only for specific owner id


Example output

Code Block
{
"field": "sum_programmed_area",
"project_id": 1262,
"time": "2019-12-16T10:56:46.848+01:00",
"value": "1233.0"
},
{
"field": "sum_designed_area",
"project_id": 1262,
"time": "2019-12-16T10:56:46.848+01:00",
"value": "1176.0"
},

...