@RestController @RequestMapping(value="/api/v1/domainassociation") public class DomainOwnershipController extends Object
| Modifier and Type | Method and Description |
|---|---|
DnsOwnershipVerificationRecords |
readOwnershipVerificationRecord(String customerId,
String domain) |
void |
verifyDomainOwnership(javax.servlet.http.HttpServletRequest request,
String customerId,
String domain,
String callbackUrl) |
@RequestMapping(method=GET,
value="/customers/{customerIdentifier}/domains/{domain}/ownershipProofRecord",
produces="application/json")
public DnsOwnershipVerificationRecords readOwnershipVerificationRecord(@PathVariable(value="customerIdentifier")
String customerId,
@PathVariable(value="domain")
String domain)
@RequestMapping(method=POST,
value="/customers/{customerIdentifier}/domains/{domain}/ownershipVerification")
@ResponseStatus(value=ACCEPTED)
public void verifyDomainOwnership(javax.servlet.http.HttpServletRequest request,
@PathVariable(value="customerIdentifier")
String customerId,
@PathVariable(value="domain")
String domain,
@RequestParam(value="callbackUrl")
String callbackUrl)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.