-
Notifications
You must be signed in to change notification settings - Fork 51
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
Implement registrar/checkDomain #76
Conversation
A couple things that I wanted to mention:
|
|
||
def check(account_id, domain_name, attributes = {}, options = {}) | ||
options = options.merge(attributes) | ||
response = client.get(Client.versioned("/%s/registrar/domains/%s/availability" % [account_id, domain_name]), options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct path should be "/%s/registrar/domains/%s/check"
. Did you get this path from somewhere? It may be an outdated docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. At least in the RAML file. I think I saw it somewhere else. I will add it here if I find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed the RAML file, thanks.
I agree, it partially is. We originally used In fact, I suggest to rename |
Fine for me, in fact
Attributes is not required. There are no parameters in the payload. |
As /availability was replaced with /check
I think I didn't explain myself here. What I mean is that |
No description provided.