SAML Federation API, gRPC: FederationService.ListDomains
Retrieves the list of domains in the specified federation.
gRPC request
rpc ListDomains (ListFederationDomainsRequest) returns (ListFederationDomainsResponse)
ListFederationDomainsRequest
{
"federation_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
|
Field |
Description |
|
federation_id |
string Required field. ID of the federation to list domains for. |
|
page_size |
int64 The maximum number of results per page to return. If the number of available |
|
page_token |
string Page token. To get the next page of results, set |
|
filter |
string A filter expression that filters resources listed in the response.
Available fields for filtering:
Must be 1-1000 characters long. |
ListFederationDomainsResponse
{
"domains": [
{
"domain": "string",
"status": "Status",
"status_code": "string",
"created_at": "google.protobuf.Timestamp",
"validated_at": "google.protobuf.Timestamp",
"challenges": [
{
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
"type": "Type",
"status": "Status",
// Includes only one of the fields `dns_challenge`
"dns_challenge": {
"name": "string",
"type": "Type",
"value": "string"
}
// end of the list of possible fields
}
]
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
domains[] |
List of domains for the specified federation. |
|
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
Domain
A domain.
|
Field |
Description |
|
domain |
string Domain name |
|
status |
enum Status Current status of the domain.
|
|
status_code |
string Optional code providing details about validation errors. |
|
created_at |
Timestamp of domain creation. |
|
validated_at |
Timestamp when the domain was successfully validated. |
|
challenges[] |
List of challenges to confirm domain ownership. |
DomainChallenge
A domain validation challenge.
|
Field |
Description |
|
created_at |
Timestamp of challenge creation. |
|
updated_at |
Timestamp of the last challenge status update. |
|
type |
enum Type Type of the validation challenge.
|
|
status |
enum Status Current status of the challenge.
|
|
dns_challenge |
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. |