Projects

Commit a spec revision

Applies edits to one or more spec nodes as a single project spec revision. Each edit carries the document revision it was based on, and the request carries the project revision the author last saw; either being stale returns 409.

post/api/v1/projects/{projectId}/spec

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/projects/{projectId}/spec
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

projectIdstring required

Request body

changeSummarystring nullable
expectedRevisioninteger required

Project spec revision the author last saw; a stale value returns 409 with the current revision.

Response

The committed revision.

idstring required
revisionnumber required
changeSummarystring nullable required
actorTypestring required
actorIdstring required
committedAtstring required
documentCountnumber required

Changes

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