Get all Child Entity Types of an Entity Type
GET/api/workspaces/:workspace_id/entity_types/:id/entity_types/
Get all child entity types of an entity type.
Request
Path Parameters
A unique integer value identifying this entity type.
Query Parameters
Possible values: >= 1
Number of results to return per page.
The initial index from which to return the results.
Responses
- 200
- 400
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Count of all the objects in the result set.
results
object[]
required
Possible values: non-empty
Possible values: non-empty
Possible values: non-empty
Possible values: non-empty
Views definition
Summary definition
Possible values: non-empty
and <= 15 characters
User permissions
Ids of the child entity types
Specifies the maximum size and allowed file types
Migration flag: if true, the value of an option field within a table is stored instead of its label
Migration flag: if true, violated field constraints block actions until they are resolved
Specifies whether entity type has only views (no parametrization)
If true, users will navigate directly to the editor of the entity instead of the browse screen
{
"count": 0,
"results": [
{
"id": 0,
"name": "string",
"class_name": "string",
"preprocess_method": "string",
"is_file": true,
"has_designer": true,
"show_children_as": "string",
"views": [
{}
],
"summary": [
{}
],
"scope": "string",
"actions": "string",
"child_entity_type_ids": [
0
],
"file_constraints": {},
"viktor_store_table_option_field_value": true,
"viktor_enforce_field_constraints": true,
"parametrization_width": 0,
"views_only": true,
"show_file_manager": true,
"navigate_to_editor": true
}
]
}
Incorrect query params
No authentication found or authentication is not correct.
Specified path is not allowed
Permission evaluation:
(Is Authenticated Organization Admin OR Workspace Context Permission) AND Is Tree App Workspace Context
Descriptions:
Is Authenticated Organization Admin
: User must be an Organization Admin.
Workspace Context Permission
: Workspace must be available to the User.
Is Tree App Workspace Context
: Workspace should have a tree
app.
Children not found or no permission