Get all Entity Types
GET/api/workspaces/:workspace_id/entity_types/
Get all entity types.
Request
Path Parameters
Query Parameters
Number of results to return per page.
The initial index from which to return the results.
Responses
- 200
- 400
- 401
- 403
- 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) OR Public Permission)
Descriptions:
Is Authenticated Organization Admin
: User must be an Organization Admin.
Public Permission
: Checks corresponding workspace is public.
Workspace Context Permission
: Workspace must be available to the User.