project-context

Diff Context

Diff two versions (Viewer+); omit to to diff against the current document. Returns both contents plus a server-computed unified diff. Unknown version -> 404.

get/v1/projects/{project_id}/context/diff

Request

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

Path parameters

project_idstring required

Query parameters

frominteger required
tointeger nullable

Response

Successful Response

from_versioninteger required
to_versioninteger nullable

null = diffed against current

from_contentstring required
to_contentstring required
unified_diffstring required

Changes

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