API / Vidéos & jobs
POST
/v1/jobs/{id}/publishedscope: generateMCP: set_published
Active/désactive le partage public.
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
id | chemin | string | oui | ID du job. |
published | corps | bool | oui |
Exemple de requête
curl -X POST https://deklip.com/v1/jobs/{id}/published \
-H "Authorization: Bearer dk_live_VOTRE_CLE" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"published":true}'Exemple de réponse
{
"ok": true
}Via MCP: cet endpoint correspond à l'outil
set_published.