GET content/{contentId}/listings

Get a list of all listings for a particular content item. This is essentially the complete history of a content item reflecting all changes.

Example

GET /api/v1/content/39b7a825-a8b6-4cf9-9233-d9ae698830ce/listings HTTP/1.1
Authorization: Bearer ...
Content-Type: application/json
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 430
ETag: W/"1ae-UDtSMPQzPhFL314TB9wg1r3kxE8"

[{
  "id": "19",
  "created": 1534566223
}, {
  "id": "22",
  "created": 1534566224
}, {
  "id": "37",
  "created": 1538629151
}, {
  "id": "38",
  "created": 1538629156
}, {
  "id": "39",
  "created": 1538629165
}, {
  "id": "40",
  "created": 1538629413
}, {
  "id": "41",
  "created": 1538629537
}, {
  "id": "42",
  "created": 1538629587
}, {
  "id": "53",
  "created": 1539653547
}, {
  "id": "54",
  "created": 1539653553
}, {
  "id": "56",
  "created": 1540433171
}, {
  "id": "57",
  "created": 1540433201
}, {
  "id": "58",
  "created": 1540433215
}]

Security

Access requirements are identical to accessing the content item itself. (See: GET content/{contentId})

Request Body

NONE

Response

Successful responses are code 200 with data in the response body. Error responses are standard.

Response Body

The response body is an array of ListingInfo objects (described below). The array is sorted chronologically.

ListingInfo

NameDescriptionValue
idthe listing IDstring
createdthe date this listing was created (e.g., as a result of an edit), as a unix timestampnumber