Domains
Return IDs of domains that can be assigned as parents to the specified domain.
Domain ID
Parentable IDs
List of domain IDs that can be parents
Unauthorized
Forbidden
Internal Server Error
GET /api/domains/{domain_id}/parentable_ids HTTP/1.1
Accept: */*
{
"data": [
1,
2,
3
]
}Count the business concepts within a domain for the specified user.
Domain ID
User name
Count response
Unauthorized
Forbidden
Not found
Internal Server Error
GET /api/domains/{domain_id}/business_concepts/{user_name}/count?user_name=text HTTP/1.1
Accept: */*
{
"data": {
"counter": 5
}
}Returns all domains, optionally filtered by actions and permissions
Comma-separated list of actions (e.g. show,create,update)
Filter mode (e.g. all)
Domains list
Unauthorized
Forbidden
Internal Server Error
GET /api/domains HTTP/1.1
Accept: */*
{
"_actions": {
"create": {
"href": "/api/domains",
"input": {},
"method": "POST"
},
"index": {
"href": "/api/domains",
"input": {},
"method": "GET"
}
},
"data": [
{
"description": "Finance domain",
"external_id": "FIN-001",
"id": 1,
"name": "Finance",
"parent_id": null,
"type": "domain"
}
],
"hypermedia": {}
}Create a new domain with the provided domain payload.
Domain created
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
POST /api/domains HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"domain": {
"name": "Finance",
"parent_id": null
}
}{
"_actions": {
"create": {
"href": "/api/domains",
"input": {},
"method": "POST"
},
"index": {
"href": "/api/domains",
"input": {},
"method": "GET"
}
},
"data": {
"description": "Finance domain",
"domain_group": {
"id": 10,
"name": "Group A",
"status": "root"
},
"external_id": "FIN-001",
"id": 1,
"name": "Finance",
"parent_id": null,
"parents": [],
"type": "domain"
},
"hypermedia": {}
}Retrieve details for a specific domain by its ID.
Domain ID
Domain
Unauthorized
Forbidden
Internal Server Error
GET /api/domains/{id} HTTP/1.1
Accept: */*
{
"_actions": {
"create": {
"href": "/api/domains",
"input": {},
"method": "POST"
},
"index": {
"href": "/api/domains",
"input": {},
"method": "GET"
}
},
"data": {
"description": "Finance domain",
"domain_group": {
"id": 10,
"name": "Group A",
"status": "root"
},
"external_id": "FIN-001",
"id": 1,
"name": "Finance",
"parent_id": null,
"parents": [],
"type": "domain"
},
"hypermedia": {}
}Update an existing domain using the provided payload.
Domain ID
Domain updated
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
PUT /api/domains/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"domain": {
"name": "Finance Updated",
"parent_id": 2
}
}{
"_actions": {
"create": {
"href": "/api/domains",
"input": {},
"method": "POST"
},
"index": {
"href": "/api/domains",
"input": {},
"method": "GET"
}
},
"data": {
"description": "Finance domain",
"domain_group": {
"id": 10,
"name": "Group A",
"status": "root"
},
"external_id": "FIN-001",
"id": 1,
"name": "Finance",
"parent_id": null,
"parents": [],
"type": "domain"
},
"hypermedia": {}
}Delete a domain identified by the given ID.
Domain ID
Domain deleted
No content
Unauthorized
Forbidden
Not found
Internal Server Error
DELETE /api/domains/{id} HTTP/1.1
Accept: */*
No content
Update an existing domain using the provided payload.
Domain ID
Domain updated
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
PATCH /api/domains/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"domain": {
"name": "Finance Updated",
"parent_id": 2
}
}{
"_actions": {
"create": {
"href": "/api/domains",
"input": {},
"method": "POST"
},
"index": {
"href": "/api/domains",
"input": {},
"method": "GET"
}
},
"data": {
"description": "Finance domain",
"domain_group": {
"id": 10,
"name": "Group A",
"status": "root"
},
"external_id": "FIN-001",
"id": 1,
"name": "Finance",
"parent_id": null,
"parents": [],
"type": "domain"
},
"hypermedia": {}
}Last updated