SAML Federation API, REST: Federation.GetDomain
Returns the specified domain in the federation.
To get the list of available domains, make a ListDomains request.
HTTP request
GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/saml/federations/{federationId}/domains/{domain}
Path parameters
|
Field |
Description |
|
federationId |
string Required field. ID of the federation to get domain information for. |
|
domain |
string Required field. Domain name to get information for. |
Response
HTTP Code: 200 - OK
{
"domain": "string",
"status": "string",
"statusCode": "string",
"createdAt": "string",
"validatedAt": "string",
"challenges": [
{
"createdAt": "string",
"updatedAt": "string",
"type": "string",
"status": "string",
// Includes only one of the fields `dnsChallenge`
"dnsChallenge": {
"name": "string",
"type": "string",
"value": "string"
}
// end of the list of possible fields
}
]
}
A domain.
|
Field |
Description |
|
domain |
string Domain name |
|
status |
enum (Status) Current status of the domain.
|
|
statusCode |
string Optional code providing details about validation errors. |
|
createdAt |
string (date-time) Timestamp of domain creation. String in RFC3339 To work with values in this field, use the APIs described in the |
|
validatedAt |
string (date-time) Timestamp when the domain was successfully validated. String in RFC3339 To work with values in this field, use the APIs described in the |
|
challenges[] |
List of challenges to confirm domain ownership. |
DomainChallenge
A domain validation challenge.
|
Field |
Description |
|
createdAt |
string (date-time) Timestamp of challenge creation. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updatedAt |
string (date-time) Timestamp of the last challenge status update. String in RFC3339 To work with values in this field, use the APIs described in the |
|
type |
enum (Type) Type of the validation challenge.
|
|
status |
enum (Status) Current status of the challenge.
|
|
dnsChallenge |
DNS record configuration for domain verification. Includes only one of the fields Validation challenge payload. Currently supports only DNS records. |
DnsRecord
DNS record data for validation challenges.
|
Field |
Description |
|
name |
string Fully qualified domain name for the record. |
|
type |
enum (Type) DNS record type (always TXT for current implementation).
|
|
value |
string Value to set in the DNS record for verification. |