RoutesArtifactsArtifactid
/artifacts/{artifactId}
Change the title, visibility or theme of an artifact without touching its content
AuthorizationBearer <token>
In: header
Path Parameters
artifactId*string
Request Body
application/json
title?string
Length
length <= 500visibility?string
'private': the creator and the users and teams it is shared with; 'tenant': every signed-in member; 'public': anyone with the link
Value in
"private" | "tenant" | "public"theme?string
Stylesheet linked into the page when it is served. 'gatana' applies the Gatana fonts, colors and typography to plain HTML; an organization theme (by id or by name) is the Gatana theme in the organization's colors, fonts and logo; 'none' serves the document as published. A new artifact without one gets the organization default
Length
1 <= length <= 100Response Body
application/json
curl -X PATCH "https://YOUR_ORG_ID.s.gatana.ai/api/v1/artifacts/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"title": "string",
"createdByUserId": "string",
"createdByUserName": "string",
"createdByUserEmail": "string",
"visibility": "private",
"theme": "string",
"currentVersion": 0,
"sharedWithUserIds": [
"string"
],
"sharedWithTeamIds": [
"string"
],
"createdAt": "string",
"updatedAt": "string",
"url": "string"
}