Send Parametrization Job
POST/api/workspaces/:workspace_id/entities/:id/parametrization/
Blocking endpoint to get parametrization as resolved by the app.
Request
Path Parameters
A unique integer value identifying this entity.
- application/json
Body
required
UUID of the current editor session. This field is required on public workspace parametrization endpoint.
Default value: [object Object]
(Optional) params as input for parametrization.
Responses
- 200
- 400
- 401
- 403
- 504
- application/json
- Schema
- Example (from schema)
Schema
The uid of the AppJob.
Possible values: non-empty
Progress message when app runner is still processing the job.
Possible values: non-empty
The result payload kind.
Possible values: non-empty
Status of the AppJob. 'success' | 'error' | 'error_user' | 'stopped' | 'message'.
Possible values: non-empty
If error is raised, the error message returned.
If error is raised, the stack trace is returned.
Any invalid fields that were found during the Job.
The actual result content.
{
"uid": 0,
"message": "string",
"kind": "string",
"status": "string",
"error_message": "string",
"error_stack_trace": {},
"invalid_fields": {},
"content": {}
}
Validation error response.
It produces a validation error schema like below.
{
"field1": ["Validation error"],
"non_field_errors": ["Sample non field validation error"]
}
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.
Job has timed out.