GetDomainVerification
organizations.domain_verifications.retrieve(DomainVerificationRetrieveParams**kwargs) -> DomainVerificationRetrieveResponse
POST/gitpod.v1.OrganizationService/GetDomainVerification
Retrieves the status of a domain verification request.
Use this method to:
- Check verification progress
- View verification requirements
- Monitor domain status
Examples
-
Get verification status:
Checks the current state of a domain verification.
domainVerificationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
GetDomainVerification
import os
from gitpod import Gitpod
client = Gitpod(
bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted
)
domain_verification = client.organizations.domain_verifications.retrieve(
domain_verification_id="d2c94c27-3b76-4a42-b88c-95a85e392c68",
)
print(domain_verification.domain_verification){
"domainVerification": {
"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
{
"domainVerification": {
"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"
}
}