Retrieve entity type.
GET/api/workspaces/:workspace_id/entity_types/:id/
Retrieve a entity type by its ID.
Request
Path Parameters
A unique integer value identifying this entity type.
Responses
- 200
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
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
Possible values: [global-open-first, local-per-section]
{
"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": [
{}
],
"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,
"section_expansion_setting": "global-open-first",
"allow_saving": "string"
}
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:
Public Permission : Checks corresponding workspace is used public.
Is Authenticated Organization Admin : User must be an Organization Admin.
Workspace Context Permission : Checks whether the user has access rights to the context workspace.
No entity type matches the given query.