ListDomainVerifications
organizations.domain_verifications.list(DomainVerificationListParams**kwargs) -> SyncDomainVerificationsPage[DomainVerification]
POST/gitpod.v1.OrganizationService/ListDomainVerifications
Lists and monitors domain verification status across an organization.
Use this method to:
- Track verification progress
- View all verified domains
- Monitor pending verifications
- Audit domain settings
Examples
-
List all verifications:
Shows all domain verifications regardless of status.
organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047" pagination: pageSize: 20 -
List with pagination:
Retrieves next page of verifications.
organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047" pagination: pageSize: 20 token: "next-page-token-from-previous-response"
ListDomainVerifications
import os
from gitpod import Gitpod
client = Gitpod(
bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted
)
page = client.organizations.domain_verifications.list(
organization_id="b0e12f6c-4c67-429d-a4a6-d9838b5da047",
pagination={
"page_size": 20
},
)
page = page.domain_verifications[0]
print(page.id){
"pagination": {
"nextToken": "nextToken"
},
"domainVerifications": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"domain": "xxxx",
"organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"state": "DOMAIN_VERIFICATION_STATE_UNSPECIFIED",
"createdAt": "2019-12-27T18:11:19.117Z",
"verificationToken": "verificationToken",
"verifiedAt": "2019-12-27T18:11:19.117Z"
}
]
}Returns Examples
{
"pagination": {
"nextToken": "nextToken"
},
"domainVerifications": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"domain": "xxxx",
"organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"state": "DOMAIN_VERIFICATION_STATE_UNSPECIFIED",
"createdAt": "2019-12-27T18:11:19.117Z",
"verificationToken": "verificationToken",
"verifiedAt": "2019-12-27T18:11:19.117Z"
}
]
}