Passer au contenu principal
PUT
/
projects
/
{slug}
/
slides
/
{slideId}
Update slide files
curl --request PUT \
  --url https://faces.app/api/v1/projects/{slug}/slides/{slideId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "files": {
    "face.tsx": "<string>",
    "face.content.json": "<string>",
    "face.controls.json": "<string>"
  }
}
'
{
  "slideId": "<string>",
  "versionId": "<string>",
  "files": {
    "face.tsx": "<string>",
    "face.content.json": "<string>",
    "face.controls.json": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.faces.app/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

API key with "faces_" prefix. Create one at Settings > Developers.

Paramètres de chemin

slug
string
requis
slideId
string
requis

Corps

application/json
files
object
requis

Slide source files. Only include files you want to update.

Réponse

Slide updated

slideId
string
requis
versionId
string
requis

The new project version ID.

files
object
requis

Slide source files. Only include files you want to update.