template-documents

post/template-documents/{session_id}/edits/{edit_index}/reject

Request

  • Base URL: https://api.fed10.ai/api
  • URL: https://api.fed10.ai/api/template-documents/{session_id}/edits/{edit_index}/reject
  • Auth: API key in header Authorization

Request body

revision_numberinteger required

Accepted revision number the pending edit targets

revision_updated_atstring required

Document row version shown with that pending edit

Response

Single edit rejected

typestring
session_idstring
kindstring
formatstring
titlestring
statusstring
readyboolean
revision_numberinteger
template_idstring nullable
remaining_placeholdersstring[]
projection_htmlstring nullable
projection_markdownstring
created_atstring nullable
updated_atstring nullable
last_resolutionobject nullable
auto_rejected_countinteger

Remaining edits whose verbatim anchor no longer matched the rebased document (they overlapped the resolved edit) and were auto-rejected.

Example response

{
  "pending": {
    "kind": "edits"
  }
}

Changes

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