Entities
Let's add some description in this file, this can also be done directly from gitbook if needed.
List entities in the same workspace.
Authorizations
Query parameters
pageinteger · min: 1OptionalDefault:
Which page to fetch
1
pageSizeinteger · min: 1 · max: 30OptionalDefault:
Page size to use
30
statusstring · enumOptionalPossible values:
Entity status
sortBystring · enumOptionalDefault:
Sort by attribute
createdAt
Possible values: sortOrderstring · enumOptionalDefault:
Sort order
asc
Possible values: Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /rest/entities HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"next": 1,
"prev": 1,
"pageSize": 1,
"total": 1,
"results": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"status": "ACTIVE",
"createdAt": "text",
"updatedAt": "text"
}
]
}
Find an entity by ID.
Authorizations
Path parameters
idstringRequired
Id of the target entity
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /rest/entities/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"legacyId": 1,
"name": "text",
"status": "ACTIVE",
"createdAt": "text",
"updatedAt": "text"
}
Last updated