curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/assets/restore \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"assets_ids": [
"<string>"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"content_url": "<string>",
"content_type": "image",
"content": "<string>",
"created_by_email": "<string>",
"thumbnail_url": "<string>",
"is_archived": true,
"is_deleted": true,
"tags": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Restore asset(s). Required permission: write:asset_evaluation.
curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/assets/restore \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"assets_ids": [
"<string>"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"content_url": "<string>",
"content_type": "image",
"content": "<string>",
"created_by_email": "<string>",
"thumbnail_url": "<string>",
"is_archived": true,
"is_deleted": true,
"tags": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Documentation Index
Fetch the complete documentation index at: https://docs.shareofmodel.ai/llms.txt
Use this file to discover all available pages before exploring further.
A UUID string identifying the organization.
A UUID string identifying the workspace.
Base for all the serializers in the assets app
IDs of assets. At least one id is required
1255255image - imagetext - textvideo - videoimage, text, video 255255