AppDirect/service-integration-sdk

Modify the ownershipProof endpoint to support ownership and configuration

kais-ad opened this issue · 0 comments

The ownership proof endpoint should be changed from: /customers/{customerIdentifier}/domains/{domain}/ownershipProofRecord to a new endpoint/customers/{customerIdentifier}/domains/{domain}/dns?type=ownershipProof.

In addition to supporting the ownership proof type of records, the new endpoint should also support the service configuration type of records /customers/{customerIdentifier}/domains/{domain}/dns?type=configuration

Any other type passed to the new endpoint will result in an empty dns Recrods result.

Finally, the old ownershipProof endpoint should redirect to the new endpoint to preserve backward compatibility