Documents

Corrige un document existant plutôt que d’en créer un second

patch/api/v1/documents/{id}

Request

  • Base URL: https://kaneme.com
  • URL: https://kaneme.com/api/v1/documents/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Identifiant de la ressource.

Request body

titlestring

Nouveau titre.

markdownstring

Nouveau corps — remplace TOUT le document.

projectIdstring nullable

Nouveau projet (null pour détacher).

profileIdstring nullable

Nouvelle voix (null pour détacher).

format'newsletter' | 'linkedin_post' | 'tweet_short' | 'thread' | 'tiktok_script' | 'instagram' | 'blog' | 'marketing_page' | 'academic_article' | 'email' | 'slack' | 'internal_note' | 'executive_communication' nullable

Nouveau canal.

provenance'human' | 'ai'

Nouvelle provenance.

Response

Succès.

idstring required
titlestring required
formatstring nullable required
workspaceIdstring required
projectIdstring nullable required
profileIdstring nullable required
provenancestring nullable required
updatedAtstring required
textstring required
htmlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.