Core-7
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
PATCH | |
GET | |
GET | |
PATCH | |
GET | |
GET | |
POST | |
GET | |
PATCH |
Update annotations
Create, Read, Update and Delete annotations. See docs for more information on annotations.
Required API key scopes
annotation:writePath parameters
- idinteger
- project_idstring
Request parameters
- contentstring
- date_markerstring
- creation_type
- dashboard_iteminteger
- dashboard_idinteger
- deletedboolean
- scope
Response
Example request
PATCH /api /projects /:project_id /annotations /:idExample response
Status 200
RESPONSE
Delete annotations
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
annotation:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /annotations /:idExample response
Status 405 No response body
List all cohorts
Required API key scopes
cohort:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /cohortsExample response
Status 200
RESPONSE
Create cohorts
Required API key scopes
cohort:writePath parameters
- project_idstring
Request parameters
- namestring
- descriptionstring
- groups
- deletedboolean
- filters
- query
- is_staticboolean
- cohort_type
- _create_in_folderstring
- _create_static_person_idsarrayDefault:
Response
Example request
POST /api /projects /:project_id /cohortsExample response
Status 201
RESPONSE
Retrieve cohorts
Required API key scopes
cohort:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /cohorts /:idExample response
Status 200
RESPONSE
Update cohorts
Required API key scopes
cohort:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- descriptionstring
- groups
- deletedboolean
- filters
- query
- is_staticboolean
- cohort_type
- _create_in_folderstring
- _create_static_person_idsarrayDefault:
Response
Example request
PATCH /api /projects /:project_id /cohorts /:idExample response
Status 200
RESPONSE
Delete cohorts
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
cohort:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /cohorts /:idExample response
Status 405 No response body
Retrieve cohorts activity retrieve
Required API key scopes
activity_log:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /projects /:project_id /cohorts /:id /activityExample response
Status 200 No response body
Update cohorts add persons to static cohort
Required API key scopes
cohort:writePath parameters
- idinteger
- project_idstring
Request parameters
- person_idsarray
Example request
PATCH /api /projects /:project_id /cohorts /:id /add_persons_to_static_cohortExample response
Status 200 No response body
Retrieve cohorts calculation history
Required API key scopes
cohort:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /projects /:project_id /cohorts /:id /calculation_historyExample response
Status 200 No response body
Retrieve cohorts persons
Required API key scopes
cohort:readperson:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /cohorts /:id /personsExample response
Status 200 No response body
Update cohorts remove person from static cohort
Required API key scopes
cohort:writePath parameters
- idinteger
- project_idstring
Request parameters
- person_idstring
Example request
PATCH /api /projects /:project_id /cohorts /:id /remove_person_from_static_cohortExample response
Status 200 No response body
Retrieve cohorts activity
Required API key scopes
activity_log:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /cohorts /activityExample response
Status 200 No response body
List all dashboard templates
Required API key scopes
dashboard_template:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /dashboard_templatesExample response
Status 200
RESPONSE
Create dashboard templates
Required API key scopes
dashboard_template:writePath parameters
- project_idstring
Request parameters
- template_namestring
- dashboard_descriptionstring
- dashboard_filters
- tagsarray
- tiles
- variables
- deletedboolean
- created_byinteger
- image_urlstring
- scope
- availability_contextsarray
Response
Example request
POST /api /projects /:project_id /dashboard_templatesExample response
Status 201
RESPONSE
Retrieve dashboard templates
Required API key scopes
dashboard_template:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /dashboard_templates /:idExample response
Status 200
RESPONSE
Update dashboard templates
Required API key scopes
dashboard_template:writePath parameters
- idstring
- project_idstring
Request parameters
- template_namestring
- dashboard_descriptionstring
- dashboard_filters
- tagsarray
- tiles
- variables
- deletedboolean
- created_byinteger
- image_urlstring
- scope
- availability_contextsarray
Response
Example request
PATCH /api /projects /:project_id /dashboard_templates /:idExample response
Status 200
RESPONSE