Profiles
Basic Profile Operations
Profile CRUD Operations
get
Authorizations
Query parameters
specificationstringOptional
Responses
200Success
application/json
get
/prod/v0/profiles/GET /prod/v0/profiles/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
[
{
"id": 1,
"tags": [
{
"id": 1,
"name": "text",
"description": "text"
}
],
"specification": "text",
"template": {
"id": 1,
"name": "text",
"description": "text",
"fields": [
{
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
}
],
"questions": [
"text"
]
},
"snapshots": [
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]
}
]post
Authorizations
Body
idintegerRead-onlyRequired
template_idintegerWrite-onlyRequired
specificationstring · max: 510Required
templateall ofRead-onlyRequired
Responses
201Success
application/json
post
/prod/v0/profiles/POST /prod/v0/profiles/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"template_id": 1,
"tags": [
{
"name": "text",
"description": "text"
}
],
"specification": "text"
}201Success
{
"id": 1,
"tags": [
{
"id": 1,
"name": "text",
"description": "text"
}
],
"specification": "text",
"template": {
"id": 1,
"name": "text",
"description": "text",
"fields": [
{
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
}
],
"questions": [
"text"
]
},
"snapshots": [
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]
}get
Authorizations
Path parameters
idintegerRequired
A unique integer value identifying this profile.
Responses
200Success
application/json
get
/prod/v0/profiles/{id}/GET /prod/v0/profiles/{id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
"id": 1,
"tags": [
{
"id": 1,
"name": "text",
"description": "text"
}
],
"specification": "text",
"template": {
"id": 1,
"name": "text",
"description": "text",
"fields": [
{
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
}
],
"questions": [
"text"
]
},
"snapshots": [
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]
}put
Authorizations
Path parameters
idintegerRequired
A unique integer value identifying this profile.
Body
idintegerRead-onlyRequired
template_idintegerWrite-onlyRequired
specificationstring · max: 510Required
templateall ofRead-onlyRequired
Responses
200Success
application/json
put
/prod/v0/profiles/{id}/PUT /prod/v0/profiles/{id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"template_id": 1,
"tags": [
{
"name": "text",
"description": "text"
}
],
"specification": "text"
}200Success
{
"id": 1,
"tags": [
{
"id": 1,
"name": "text",
"description": "text"
}
],
"specification": "text",
"template": {
"id": 1,
"name": "text",
"description": "text",
"fields": [
{
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
}
],
"questions": [
"text"
]
},
"snapshots": [
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]
}patch
Authorizations
Path parameters
idintegerRequired
A unique integer value identifying this profile.
Body
idintegerRead-onlyOptional
template_idintegerWrite-onlyOptional
specificationstring · max: 510Optional
templateall ofRead-onlyOptional
Responses
200Success
application/json
patch
/prod/v0/profiles/{id}/PATCH /prod/v0/profiles/{id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"template_id": 1,
"tags": [
{
"name": "text",
"description": "text"
}
],
"specification": "text"
}200Success
{
"id": 1,
"tags": [
{
"id": 1,
"name": "text",
"description": "text"
}
],
"specification": "text",
"template": {
"id": 1,
"name": "text",
"description": "text",
"fields": [
{
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
}
],
"questions": [
"text"
]
},
"snapshots": [
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]
}delete
Authorizations
Path parameters
idintegerRequired
A unique integer value identifying this profile.
Responses
204
No response body
No content
delete
/prod/v0/profiles/{id}/DELETE /prod/v0/profiles/{id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204
No response body
No content
Profile Snapshot Operations
get
Authorizations
Responses
200Success
application/json
get
/prod/v0/snapshots/GET /prod/v0/snapshots/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
[
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]get
Authorizations
Path parameters
idintegerRequired
A unique integer value identifying this snapshot.
Responses
200Success
application/json
get
/prod/v0/snapshots/{id}/GET /prod/v0/snapshots/{id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
"id": 1,
"status": "text",
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}get
Authorizations
Path parameters
profile_idstringRequiredPattern:
^\d+$Responses
200Success
application/json
get
/prod/v0/profiles/{profile_id}/snapshots/GET /prod/v0/profiles/{profile_id}/snapshots/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
[
{
"id": 1,
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}
]post
Authorizations
Path parameters
profile_idstringRequiredPattern:
^\d+$Body
idintegerRead-onlyRequired
Responses
201Success
application/json
post
/prod/v0/profiles/{profile_id}/snapshots/POST /prod/v0/profiles/{profile_id}/snapshots/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}201Success
{
"id": 1,
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}get
Authorizations
Path parameters
profile_idstringRequiredPattern:
^\d+$snapshot_idstringRequired
Responses
200Success
application/json
get
/prod/v0/profiles/{profile_id}/snapshots/{snapshot_id}/GET /prod/v0/profiles/{profile_id}/snapshots/{snapshot_id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
"id": 1,
"answers": [
{
"id": 1,
"answer": null
}
],
"fields": [
{
"id": 1,
"field": {
"id": 1,
"name": "text",
"description": "text",
"type": "text",
"rel_template": 1,
"enum_values": [
"text"
],
"enum_many": true,
"sources": [
"text"
]
},
"status": "text",
"value": null
}
],
"reports": [
{
"id": 1,
"outline": {
"id": 1,
"outline": null,
"perspective": "text"
},
"report": null
}
]
}get
Get the latest snapshot health for a profile
Authorizations
Path parameters
profile_idintegerRequired
Responses
200
No response body
No content
get
/prod/v0/health/profile/{profile_id}/latest/GET /prod/v0/health/profile/{profile_id}/latest/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
No response body
No content
Add Created Field to Profile
post
Attach a created field to a profile
Authorizations
Path parameters
field_idstringRequiredPattern:
^\d+$Body
profile_idintegerWrite-onlyRequired
Responses
201
No response body
No content
post
/prod/v0/created-fields/{field_id}/profile/POST /prod/v0/created-fields/{field_id}/profile/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"profile_id": 1
}201
No response body
No content
Last updated