Skip to main content
GET
/
comments
List comments
curl --request GET \
  --url https://api-staging.pixwel.com/api/comments \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'X-Range: <x-range>'
[
  {
    "_id": "5dc2eb1bd1c56a0024562983",
    "workRequest": "5dc2ead7d1c56a04453af643",
    "user": {
      "_id": "5432fc15bde09b627c8b468d",
      "name": "Anthony Momjian",
      "emailNormal": "anthony@pixwel.com",
      "groups": [
        {
          "_id": "5328d77467d621906d8b4574",
          "name": "PIXWEL",
          "$links": {
            "self": "//api-staging.pixwel.com/api/Groups/5328d77467d621906d8b4574"
          }
        }
      ]
    },
    "body": "SADfghjk",
    "urls": {
      "workRequest": "https://platform.pixwel.com/orders/manage/5dc2ead7d1c56a04453af643/previews"
    },
    "created": 1573055259,
    "$links": {
      "self": "//api-staging.pixwel.com/api/Comments/5dc2eb1bd1c56a0024562983",
      "workRequest": "//api-staging.pixwel.com/api/Workrequests/5dc2ead7d1c56a04453af643",
      "user": "//api-staging.pixwel.com/api/Users/5432fc15bde09b627c8b468d"
    },
    "replies": [
      "<unknown>"
    ]
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

X-Range
string
default:resources=0-9
required

Pagination range (e.g. resources=0-9, resources=10-19)

Query Parameters

workRequest
string
offline
string

Response

200 - application/json

OK

_id
string
Example:

"5dc2eb1bd1c56a0024562983"

workRequest
string
Example:

"5dc2ead7d1c56a04453af643"

user
object
body
string
Example:

"SADfghjk"

urls
object
created
integer
Example:

1573055259

replies
any[]