Docs: Update REPP domain

This commit is contained in:
Karl Erik Õunapuu 2020-10-26 12:59:04 +02:00
parent cfd8e8b7f1
commit 4e895d9124
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -25,44 +25,52 @@ Content-Type: application/json
``` ```
HTTP/1.1 200 HTTP/1.1 200
Cache-Control: max-age=0, private, must-revalidate Cache-Control: max-age=0, private, must-revalidate
Content-Length: 808
Content-Type: application/json Content-Type: application/json
{ {
"domains": [ "code": 1000,
{ "message": "Command completed successfully",
"id": 1, "data": {
"name": "domain0.ee", "domains": [
"registrar_id": 2, {
"registered_at": "2015-09-09T09:11:14.861Z", "id": 7,
"status": null, "name": "private.ee",
"valid_from": "2015-09-09T09:11:14.861Z", "registrar_id": 2,
"valid_to": "2016-09-09T09:11:14.861Z", "valid_to": "2022-09-23T00:00:00.000+03:00",
"registrant_id": 1, "registrant_id": 11,
"transfer_code": "98oiewslkfkd", "created_at": "2020-09-22T14:16:47.420+03:00",
"created_at": "2015-09-09T09:11:14.861Z", "updated_at": "2020-10-21T13:31:43.733+03:00",
"updated_at": "2015-09-09T09:11:14.860Z", "name_dirty": "private.ee",
"name_dirty": "domain0.ee", "name_puny": "private.ee",
"name_puny": "domain0.ee", "period": 1,
"period": 1, "period_unit": "y",
"period_unit": "y", "creator_str": "2-ApiUser: test",
"creator_str": null, "updator_str": null,
"updator_str": null, "outzone_at": null,
"outzone_at": "2016-09-24T09:11:14.861Z", "delete_date": null,
"delete_date": "2016-10-24", "registrant_verification_asked_at": null,
"registrant_verification_asked_at": null, "registrant_verification_token": null,
"registrant_verification_token": null, "pending_json": {},
"pending_json": { "force_delete_date": null,
}, "statuses": [
"force_delete_date": null, "serverRenewProhibited"
"statuses": [ ],
"ok" "status_notes": {
], "ok": "",
"status_notes": { "serverRenewProhibited": ""
},
"upid": null,
"up_date": null,
"uuid": "6b6affa7-1449-4bd8-acf5-8b4752406705",
"locked_by_registrant_at": null,
"force_delete_start": null,
"force_delete_data": null,
"auth_info": "367b1e6d1f0d9aa190971ad8f571cd4d",
"valid_from": "2020-09-22T14:16:47.420+03:00"
} }
} ],
], "total_number_of_records": 10
"total_number_of_records": 2 }
} }
``` ```
@ -83,14 +91,17 @@ Content-Type: application/json
``` ```
HTTP/1.1 200 HTTP/1.1 200
Cache-Control: max-age=0, private, must-revalidate Cache-Control: max-age=0, private, must-revalidate
Content-Length: 54
Content-Type: application/json Content-Type: application/json
{ {
"domains": [ "code": 1000,
"domain1.ee" "message": "Command completed successfully",
], "data": {
"total_number_of_records": 2 "domains": [
"private.ee",
],
"total_number_of_records": 1
}
} }
``` ```
@ -117,65 +128,68 @@ Please note that domain transfer/authorisation code must be placed in header - *
``` ```
HTTP/1.1 200 OK HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate Cache-Control: max-age=0, private, must-revalidate
Content-Length: 784
Content-Type: application/json Content-Type: application/json
{ {
"domain":"ee-test.ee", "code": 1000,
"registrant":{ "message": "Command completed successfully",
"code":"EE:R1", "data": {
"name":"Registrant", "domain":"ee-test.ee",
"ident":"17612535", "registrant":{
"ident_type":"org", "code":"EE:R1",
"ident_country_code":"EE", "name":"Registrant",
"phone":"+372.1234567", "ident":"17612535",
"email":"registrant@cache.ee", "ident_type":"org",
"street":"Businesstreet 1", "ident_country_code":"EE",
"city":"Tallinn", "phone":"+372.1234567",
"zip":"10101", "email":"registrant@cache.ee",
"country_code":"EE", "street":"Businesstreet 1",
"statuses":[ "city":"Tallinn",
"ok", "zip":"10101",
"linked" "country_code":"EE",
] "statuses":[
}, "ok",
"admin_contacts":[ "linked"
{ ]
"code":"EE:A1", },
"name":"Admin Contact", "admin_contacts":[
"ident":"17612535376", {
"ident_type":"priv", "code":"EE:A1",
"ident_country_code":"EE", "name":"Admin Contact",
"phone":"+372.7654321", "ident":"17612535376",
"email":"admin@cache.ee", "ident_type":"priv",
"street":"Adminstreet 2", "ident_country_code":"EE",
"city":"Tallinn", "phone":"+372.7654321",
"zip":"12345", "email":"admin@cache.ee",
"country_code":"EE", "street":"Adminstreet 2",
"statuses":[ "city":"Tallinn",
"ok", "zip":"12345",
"linked" "country_code":"EE",
"statuses":[
"ok",
"linked"
]
}
],
"tech_contacts":[
{
"code":"EE:T1",
"name":"Tech Contact",
"ident":"17612536",
"ident_type":"org",
"ident_country_code":"EE",
"phone":"+372.7654321",
"email":"tech@cache.ee",
"street":"Techstreet 1",
"city":"Tallinn",
"zip":"12345",
"country_code":"EE",
"statuses":[
"ok",
"linked"
]
}
] ]
} }
], }
"tech_contacts":[
{
"code":"EE:T1",
"name":"Tech Contact",
"ident":"17612536",
"ident_type":"org",
"ident_country_code":"EE",
"phone":"+372.7654321",
"email":"tech@cache.ee",
"street":"Techstreet 1",
"city":"Tallinn",
"zip":"12345",
"country_code":"EE",
"statuses":[
"ok",
"linked"
]
}
]
} }
``` ```