Update registrant api doc

This commit is contained in:
Thiago Youssef 2022-07-20 10:07:19 -03:00 committed by olegphenomenon
parent 057f026cc0
commit eb2c023e2a
2 changed files with 15 additions and 13 deletions

View file

@ -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

View file

@ -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