Statuses
Get statuses
GET /api/v1/statuses
{
"data": [
{
"name": "Publish",
"slug": "publish",
"id": "5daff00321935800013e15fa",
"class": "com.factly.dega.domain.Status",
"isDefault": true,
"clientId": "default",
"createdDate": "2019-09-11T15:19:47.348Z",
"lastUpdatedDate": "2019-09-11T15:19:47.348Z"
},
{
...
},
...
]
}
Get status
GET /api/v1/statuses/:key
Path parameters
params | description |
---|---|
key | To get status by Object Id or slug |
Get a particular status by Object Id
GET /api/v1/statuses/$statusId
{
"data" : {
"name": "Publish",
"slug": "publish",
"id": "5daff00321935800013e15fa",
"class": "com.factly.dega.domain.Status",
"isDefault": true,
"clientId": "default",
"createdDate": "2019-09-11T15:19:47.348Z",
"lastUpdatedDate": "2019-09-11T15:19:47.348Z"
}
}
Get a particular status by slug
GET /api/v1/statuses/$statusSlug
{
"data" : {
"name": "Publish",
"slug": "publish",
"id": "5daff00321935800013e15fa",
"class": "com.factly.dega.domain.Status",
"isDefault": true,
"clientId": "default",
"createdDate": "2019-09-11T15:19:47.348Z",
"lastUpdatedDate": "2019-09-11T15:19:47.348Z"
}
}