KHONY_ORIGIN est l’origine HTTPS de votre application Khony, sans chemin final. Remplacez les identifiants de l’exemple par ceux de vos ressources autorisées. Les données de réponse ci-dessous illustrent le format ; elles ne sont pas le résultat d’un appel à votre organisation.
Paramètres et en-têtes
Nom
Emplacement
Requis
Type et contraintes
idempotency-key
header
Oui
string ; uuid
x-khony-confirmation
header
Non
string ; uuid
Champs du corps JSON
Nom
Emplacement
Requis
Type et contraintes
productId
JSON
Oui
string
workflowId
JSON
Oui
string
name
JSON
Oui
string ; Longueur maximale : 160
expectedRevision
JSON
Oui
integer ; Minimum : 0 ; Maximum : 9007199254740991
Les statuts documentés pour cette opération sont 400, 401, 402, 403, 404, 409, 428, 429, 500, 503. Identifiez la cause avec error.code et, lorsqu’il est présent, error.reason. Une réponse 409 peut demander une relecture de révision ou signaler une commande incompatible ; une réponse 428 demande une confirmation humaine. Ne rejouez une écriture que selon son contrat.
Notes du contrat
JSON
{
"description": "Requires a dedicated API OAuth bearer for audience /api/v1, api:connect and the stated workflow scope, current organization/product consent and native human permissions. Organization keys and cookies are not accepted. Every admission consumes a product API request; native write billing checks apply. Send a stable UUID Idempotency-Key with exactly the same body on retry. Effects and the immutable receipt commit together. Changed payload or stale revision returns 409. Replays reauthorize the current human. Requires verified human confirmation bound by the common runtime to this action, inputs, command key and delegated session. A model boolean is not confirmation. Uses the native production compiler, action permissions, entitlements, active quota and conversation ownership. Linked visual workflows must publish their Explorer draft instead. Freezes an immutable version."
}