GET api/KeySeeds

Returns all key seeds. Only 100 key seeds 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 KeySeed
NameDescriptionTypeAdditional information
Id

The ID of the key seed.

globally unique identifier

Required

Name

The name of the key seed.

string

Max length: 256

Min length: 1

Data

The key seed.

Collection of byte

Max length: 30

Min length: 30

IsSecured

Indicates whether the key seed has been secured and won't be exposed.

boolean

None.

Created

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

date

Required

Updated

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

date

None.

MadeDefault

The date when the key seed was made as the default one (in the ISO 8601 format). There may be multiple key seeds that were made as the default ones, but only one key seed will be treated as the default one. The default key seed is the last key seed that was made as the default one. If no key seeds were ever made as the default ones, the oldest key seed will be treated as the default one.

date

None.

Status Codes

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

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

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "9190a686-982b-455c-a423-a2210af1eb97",
    "Name": "sample string 2",
    "Data": "QEA=",
    "IsSecured": true,
    "Created": "2024-09-11T10:50:10.7837862+00:00",
    "Updated": "2024-09-11T10:50:10.7837862+00:00",
    "MadeDefault": "2024-09-11T10:50:10.7837862+00:00"
  },
  {
    "Id": "9190a686-982b-455c-a423-a2210af1eb97",
    "Name": "sample string 2",
    "Data": "QEA=",
    "IsSecured": true,
    "Created": "2024-09-11T10:50:10.7837862+00:00",
    "Updated": "2024-09-11T10:50:10.7837862+00:00",
    "MadeDefault": "2024-09-11T10:50:10.7837862+00:00"
  }
]