Skip to content
Navigation

Open a thread on a timeline entry

A reply opens a thread (spec §4.4/W6): the thread is rooted at an existing entry’s seq, and a later comment or turn carries the returned thd_ id as its threadId. A threadId that is not a thread of this session is refused 404 wherever it is used, so nothing unvalidated lands on a permanent timeline. Authorization: work_session:comment on the session, OR space:contribute on one of its linked spaces; a desk session only for its owner. Any denial is 404.

POST
https://api.cloudraker.com/workspace/sessions/{sessionId}/threads
Try it
Path parameters
Request body
Live API request

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • sessionId
    string
    required

Request body JSON required

  • rootSeq
    integer
    required
    maximum: 9007199254740991 · minimum: 1
  • archived
    optional
    boolean
  • anchor
    optional
    object
    • artifactId
      string
      required
      maxLength: 128 · minLength: 1
    • from
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • to
      integer
      required
      maximum: 9007199254740991 · minimum: 0

Returns

201

The opened thread.

JSON
  • data
    object
    required
    • id
      string
      required
    • rootSeq
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • anchor
      required

      Any of the following:

      • object
        • artifactId
          string
          required
          maxLength: 128 · minLength: 1
        • from
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • to
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • quote
          optional
          string
          maxLength: 2000 · minLength: 1
        • sourceVersion
          optional
          integer
          maximum: 9007199254740991 · minimum: 0
      • null
    • archivedAt
      optional

      Any of the following:

      • string
      • null

400

validation_failed — a malformed body, e.g. a missing rootSeq.

404

No such session, or the caller may not write it; entry_not_found — no entry at that rootSeq.

Type to search…

↑↓ navigate↵ selectEsc close