Skip to main content
PATCH
/
file_comments
/
{file_comment_id}
Update File Comment
curl --request PATCH \
  --url https://app.usequeue.com/api/v1/file_comments/{file_comment_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "private": true
}
'
{
  "id": 97,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "text": "changed hehe",
  "file": {
    "id": "529e15ad83ee",
    "title": "10x faster.png",
    "link": "<string>"
  },
  "user": {
    "username": "<string>",
    "email": "[email protected]",
    "avatar": "<string>"
  },
  "private": false,
  "comments": [
    {
      "id": 3,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "body": "<p>nested reply</p>",
      "user": {
        "username": "<string>",
        "email": "[email protected]",
        "avatar": "<string>"
      },
      "file_comment_id": 97,
      "private": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_comment_id
string
required

Body

application/json
text
string
private
boolean

Response

200 - application/json

Updated file comment

id
integer
required
Example:

97

created_at
string<date-time>
required
updated_at
string<date-time>
required
text
string
required
Example:

"changed hehe"

file
object
required
user
object
required
private
boolean
Example:

false

comments
object[]