GET api/ContentKeys

Returns all content keys. Only 100 content keys can be returned at a time. The following OData query options are allowed: $filter, $orderby, $select, $skip, $top.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ContentKey
NameDescriptionTypeAdditional information
Id

The ID of the content key.

globally unique identifier

Required

Name

The name of the content key.

string

Max length: 256

Min length: 1

Created

The date when the content key was created (in the ISO 8601 format).

date

Required

Updated

The date when the content key was updated last time (in the ISO 8601 format).

date

None.

CreationMethod

The category of the log entry. Where: 0 is "Random"; 1 is "KeySeed"; 2 is "Import".

byte

Required

Status Codes

All HTTP status codes must be expected, but the following status codes are the most probable:

  • OK (200) - All found content keys are successfully returned.
  • BadRequest (400) - The OData query is invalid.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "341c5bd3-b8bb-4729-bed9-91c62a4a2d8c",
    "Name": "sample string 2",
    "Created": "2024-09-24T02:25:34.2811959+00:00",
    "Updated": "2024-09-24T02:25:34.2811959+00:00",
    "CreationMethod": 64
  },
  {
    "Id": "341c5bd3-b8bb-4729-bed9-91c62a4a2d8c",
    "Name": "sample string 2",
    "Created": "2024-09-24T02:25:34.2811959+00:00",
    "Updated": "2024-09-24T02:25:34.2811959+00:00",
    "CreationMethod": 64
  }
]