Skip to content
Navigation

Accept one tracked change

Accepts a single tracked change, by its tc id.

?revision is the session revision you read the tc ids at. Suggestion ids are POSITIONAL — any edit renumbers them — so passing it turns a stale id into a 409 revision_conflict instead of a silent hit on the wrong change.

Learn more: Redlining

POST
https://api.cloudraker.com/v1/redline/{sessionId}/suggestions/{tcId}/accept
Try it
Path parameters
Query parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • sessionId
    string
    required
    minLength: 1
  • tcId
    string
    required
    minLength: 1

Query parameters

  • revision
    optional
    integer
    maximum: 9007199254740991 · minimum: 0

Returns

200

The new revision.

JSON
  • revision
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991
  • summary
    object
    required
    • paragraphCount
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • comments
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • trackedChanges
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

404

Unknown session or tracked change.

409

The id was read at an older revision (revision_conflict).

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close