GET api/FairPlayDataSets/{id}

Returns a FairPlay data set.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the data set to return.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

FairPlayDataSet
NameDescriptionTypeAdditional information
Id

The ID of the data set.

globally unique identifier

Required

Name

The name of the data set.

string

None.

CertificateHash

The hash of the certificate.

Collection of byte

Required

Max length: 20

Min length: 20

Created

The date when the data set was created (in the ISO 8601 format).

date

Required

Updated

The date when the data set was updated last time (in the ISO 8601 format).

date

None.

Status Codes

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

  • OK (200) - The data set is found and returned.
  • BadRequest (400) - The ID of a data set is invalid.
  • NotFound (404) - The data set with the specified ID is not found.

Response Formats

application/json, text/json

Sample:
{
  "Id": "d09d756d-dacc-4b72-9f86-568d143d0ac6",
  "Name": "sample string 2",
  "CertificateHash": "QEA=",
  "Created": "2024-10-23T20:24:00.5042192+00:00",
  "Updated": "2024-10-23T20:24:00.5042192+00:00"
}