curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/assets/bulk_edit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"assets": [
{
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"tags": [
"<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"
}Bulk edit assets by updating name and/or tags. Required permission: write:asset_evaluation.
curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/assets/bulk_edit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"assets": [
{
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"tags": [
"<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
List of assets to edit with their new names and/or tags
1Show child attributes
255255image - imagetext - textvideo - videoimage, text, video 255255