Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for registrant APIs #181

Merged
9 commits merged into from
Aug 29, 2023
Merged

Add support for registrant APIs #181

9 commits merged into from
Aug 29, 2023

Conversation

ghost
Copy link

@ghost ghost commented Aug 22, 2023

This PR introduces 5 new endpoints that are part of the domain contact management API that was introduced in dnsimple/dnsimple-developer#501.

The following endpoints have been added:

  • listRegistrantChanges: GET /{account}/registrar/registrant_changes
  • createRegistrantChange: POST /{account}/registrar/registrant_changes
  • checkRegistrantChange: POST /{account}/registrar/registrant_changes/check
  • getRegistrantChange: GET /{account}/registrar/registrant_changes/{registrantchange}
  • deleteRegistrantChange: DELETE /{account}/registrar/registrant_changes/{registrantchange}

Belongs to https://github.com/dnsimple/dnsimple-business/issues/1729

@ghost ghost added the enhancement label Aug 22, 2023
@ghost ghost self-assigned this Aug 22, 2023
Copy link
Contributor

@DXTimer DXTimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the create registrant change endpoint has been added please add all 5 endpoints for the registrant change API: list, check, create, show, delete.

Tests are missing.

The code should be moved out of the registrar.ts file into its own file.

@ghost ghost force-pushed the feature/create-registrant-change branch from e6257a7 to fd64f0b Compare August 23, 2023 01:07
@ghost ghost changed the title Add support to create a registrant change Add support for registrant APIs Aug 23, 2023
@ghost ghost marked this pull request as ready for review August 23, 2023 07:03
@ghost ghost requested review from a team and DXTimer August 23, 2023 07:03
@ghost ghost merged commit f1038df into main Aug 29, 2023
7 checks passed
@ghost ghost deleted the feature/create-registrant-change branch August 29, 2023 13:11
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant