mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Update registrant api doc
This commit is contained in:
parent
057f026cc0
commit
eb2c023e2a
2 changed files with 15 additions and 13 deletions
|
@ -113,7 +113,8 @@ Update contact.
|
|||
| address[city] | false | String | | New city name |
|
||||
| address[state] | false | String | | New state name |
|
||||
| address[country_code] | false | String | | New country code in 2 letter format (ISO 3166-1 alpha-2) |
|
||||
| disclosed_attributes | false | Array | | Possible values: "name", "email", "phone"
|
||||
| disclosed_attributes | false | Array | | Possible values: "name", "email", "phone" |
|
||||
| registrant_publishable | false | Boolean | | Possible values: true, false |
|
||||
|
||||
|
||||
#### Request
|
||||
|
|
|
@ -38,7 +38,8 @@ class RegistrantApiV1ContactDetailsTest < ActionDispatch::IntegrationTest
|
|||
},
|
||||
auth_info: @contact.auth_info,
|
||||
statuses: @contact.statuses,
|
||||
disclosed_attributes: @contact.disclosed_attributes }),
|
||||
disclosed_attributes: @contact.disclosed_attributes,
|
||||
registrant_publishable: @contact.registrant_publishable }),
|
||||
JSON.parse(response.body, symbolize_names: true)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue