Skip to content

Update artifact metadata

PATCH
/v1/artifacts/{id}
curl --request PATCH \
--url https://shareout.site/v1/artifacts/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "visibility": "public", "social_title": "example", "social_description": "example", "social_image_url": "example" }'

Update visibility, name, or social link-preview fields.

id
required
string

Artifact ID (e.g. art_abc123).

Media type application/json
object
name
string
visibility
string
Allowed values: public unlisted private
social_title
string | null
social_description
string | null
social_image_url
string | null

Updated

Media type application/json
object
id
string
name
string
slug
string
visibility
string
Allowed values: public unlisted private
url
string format: uri
thumbnail_url
string format: uri
is_favorite
boolean
created_at
integer
Example
{
"visibility": "public"
}

Access denied

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}

Resource not found

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}