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.

...

In addition we have some special endpoint for:

ResourceMETHODDescription
/node/loginsGETGet 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-31GETGet login statistics for projects for the given time period, grouped by type of client used(Revit, dRofus etc.)
/node/unique_usersGETGets number of unique users for each project for the last 5 years
/node/unique_users?from_date=2018-01-01&to_date=2019-12-31GEtGets number of unique users for each project for the given period.
/project_data?from_date=2018-01-01&to_date=2019-12-31GEtGet statstics values on projects, to_date and from_date are optional limits on date
/password/request_resetGETA post request with a valid username will trigger a password reset email
/password/resetGETUse this with a token to change password with the API
/owners/[id]/tasks/[TaskName]/run?source=[sourcedb]&copy_ids=[ids]POST request to run

Run a given task against all databases in for a given owner. TaskName is one of the following

  • CopyOverwriteExcelExportsTask: Copy given excel export identified by ids from sourcedb to all other dbs
  • CopySharedRdlReports: Copy given RDL reports identified by ids from sourcedb to all other dbs

...