Change domain_names to be an array, not a singular object

This commit is contained in:
Maciej Szlosarczyk 2018-07-16 13:47:55 +03:00
parent 2e2e5cd08d
commit 6aeda6444e
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -28,7 +28,7 @@ Content-Type: application/json
"contacts": [ "contacts": [
{ {
"uuid": "84c62f3d-e56f-40fa-9ca4-dc0137778949", "uuid": "84c62f3d-e56f-40fa-9ca4-dc0137778949",
"domain_name": "example.com" "domain_names": ["example.com"],
"code": "REGISTRAR2:SH022086480", "code": "REGISTRAR2:SH022086480",
"phone": "+372.12345678", "phone": "+372.12345678",
"email": "hoyt@deckowbechtelar.net", "email": "hoyt@deckowbechtelar.net",
@ -82,7 +82,7 @@ Content-Type: application/json
{ {
"uuid": "84c62f3d-e56f-40fa-9ca4-dc0137778949", "uuid": "84c62f3d-e56f-40fa-9ca4-dc0137778949",
"domain_name": "example.com" "domain_names": ["example.com"],
"code": "REGISTRAR2:SH022086480", "code": "REGISTRAR2:SH022086480",
"phone": "+372.12345678", "phone": "+372.12345678",
"email": "hoyt@deckowbechtelar.net", "email": "hoyt@deckowbechtelar.net",
@ -156,7 +156,7 @@ Content-Type: application.json
{ {
"uuid": "84c62f3d-e56f-40fa-9ca4-dc0137778949", "uuid": "84c62f3d-e56f-40fa-9ca4-dc0137778949",
"domain_name": "example.com" "domain_names": ["example.com"],
"code": "REGISTRAR2:SH022086480", "code": "REGISTRAR2:SH022086480",
"phone": "+372.12345671", "phone": "+372.12345671",
"email": "foo@bar.baz", "email": "foo@bar.baz",