Get Editor Session Messages
GET/api/workspaces/:workspace_id/entities/:id/messages/
Fetch system and user messages within an editor session. User should have at least READ
permission on the entity to fetch messages.
Request
Path Parameters
A unique integer value identifying this entity.
Query Parameters
Session identifier (UUID)
Responses
- 200
- 400
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Id of the job.
Creation date of the job.
Possible values: non-empty
Human readable label of the job.
Possible values: non-empty
Job method type. It can be one of: geometry, plotly, data, optimise-button, image_and_data, step-next, plotly_and_data, ifc_and_data, geojson, svg_and_data, svg, analyse-button, web_and_data, ifc, pdf, set-params-button, image, download-button, geojson_and_data, web, geometry_and_data.
Possible values: non-empty
Type of completion. It can be one of: result, stopped, expired, error, error_user.
Shows whether error is reported. Errors can be reported when job is finished with ERROR
completion type.
Possible values: non-empty
Error message of the job if finished with ERROR_USER
completion type.
messages
object[]
required
List of last messages.
Possible values: non-empty
Type of the message. It can be one of success, info, warning, started, result, stopped, expired, error, error_user
Possible values: non-empty
Message content.
Timestamp of the message.
[
{
"job_id": 0,
"created_at": "2024-06-11T11:45:44.603Z",
"job_label": "string",
"job_method_type": "string",
"completion_type": "string",
"error_reported": true,
"error_message": "string",
"messages": [
{
"message_type": "string",
"message": "string",
"timestamp": "2024-06-11T11:45:44.603Z"
}
]
}
]
No associated editor session found.
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) AND Is Not App
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.
Is Not App
: Client must not be a VIKTOR app.