Download Workspace Asset
GET/api/workspaces/:id/assets/
Download an asset from workspace context, such as an image in the parametrization.
Request
Path Parameters
A unique integer value identifying this workspace.
Query Parameters
Possible values: non-empty
and <= 2048 characters
Full path of the asset file.
Responses
- 200
- 400
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
Temporary download url.
{
"temp_download_url": "string"
}
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 AND Is Not App AND Workspace Permission
Descriptions:
Workspace Permission
: Checks whether the user has permission to the workspace object.
Is Authenticated
: Allows access only to authenticated users.
Is Not App
: Client must not be a VIKTOR app.
Workspace is not found.