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

BSA gateway integration #2611

Open
vohmar opened this issue Sep 4, 2023 · 0 comments · May be fixed by #2621
Open

BSA gateway integration #2611

vohmar opened this issue Sep 4, 2023 · 0 comments · May be fixed by #2621
Assignees

Comments

@vohmar
Copy link
Contributor

vohmar commented Sep 4, 2023

Create new reserved domains list for BSA protected domains. The table need multiple columns:

  • Order id
  • Suborder id
  • Domain name (FQDN Punycode)
  • State
  • registration code (if domain name is simultaneously in the reserved, auction or disputed list the registration code needs to match in each of those lists for the domain name)
  • create date
  • update date

Restful JSON API request to BSA (api.bsagateway.co)
all api requests except login require bearer token from the login. Token is valid for 30 minutes and there can be only one active token per user - new login creates new token and expires the old one if there were any still active.

regular queries to BSA API to update the list of BSA protected domains

all orders need to be saved in the BSA list and removed only when they are removed from BSA system (status: Queued for Release)

Once a day we need to send a domain report of unavailable domains back to BSA in zipped format together with file checksum. API - POST method

Domain names in the BSA reserved list can be simultaneously in other blocked and reserved lists or be registered

Operations:

  • Retrieve List of all Orders (GET)
  • View Order (GET)
  • Marking Suborders (POST)
  • Add to nonblockednames List Per Suborder (POST)
  • Add to nonblockednames List For All Related Suborders (POST)
  • Remove from nonblockednames List Per Suborder (POST)
  • Remove from nonblockednames List For All Related Suborders (POST)
  • Mark Suborder as Completed (Active)
  • Download Nonblockednames List (GET)
  • Queued For Release to Release In Progress
  • Release In Progress to Closed
  • Upload Unavailable Domains Report (POST)

For whois records blocked and disputed lists take priority - record is generated after those lists
If domain name in BSA list is not registered nor is it in blocked or disputed list whois record is created with message

Domain Name: domain-name.example
>>> This name is not available for registration.
>>> This name has been blocked by a GlobalBlock service.
>>> Last update of WHOIS database: 2023-01-19T23:16:30Z <<<
@OlegPhenomenon OlegPhenomenon self-assigned this Sep 29, 2023
@OlegPhenomenon OlegPhenomenon linked a pull request Oct 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: To do
Development

Successfully merging a pull request may close this issue.

2 participants