project-context

Create Section

Add a context section (ContextWriter — context:write). Records the section's v1 history and recomputes the derived context_document mirror.

post/v1/projects/{project_id}/context/sections

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/projects/{project_id}/context/sections
  • Auth: none declared

Path parameters

project_idstring required

Request body

titlestring required
typestring

overview|writing|qa|constraints|terminology|other (open-set).

languagesstring[]

target codes this section applies to; empty = all.

bodystring
positioninteger nullable

Response

Successful Response

uuidstring required
titlestring required
typestring required
languagesstring[] required
positioninteger required
updated_atstring date-time nullable
bodystring required

Changes

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