From 640981e349c10f5df7fbf33d2e78820266b129a3 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 7 Dec 2018 12:25:45 +0200 Subject: [PATCH] Update doc --- doc/registrant-api/v1/contact.md | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/doc/registrant-api/v1/contact.md b/doc/registrant-api/v1/contact.md index 1adb70514..6d7f04cbd 100644 --- a/doc/registrant-api/v1/contact.md +++ b/doc/registrant-api/v1/contact.md @@ -53,7 +53,7 @@ Content-Type: application/json ``` ## GET /api/v1/registrant/contacts/$UUID -Returns contacts of the current registrar. +Returns contact details. #### Request @@ -138,35 +138,7 @@ Content-type: application/json ``` #### Response on success -``` -HTTP/1.1 200 -Content-Type: application/json - -{ - "id":"84c62f3d-e56f-40fa-9ca4-dc0137778949", - "name":"Karson Kessler", - "code":"REGISTRAR2:SH022086480", - "ident":{ - "code":"37605030299", - "type":"priv", - "country_code":"EE" - }, - "email":"foo@bar.baz", - "phone":"+372.12345671", - "fax":"+372.12345672", - "address":{ - "street":"Main Street 123", - "zip":"22222", - "city":"New City", - "state":"New state", - "country_code":"LV" - }, - "auth_info":"password", - "statuses":[ - "ok" - ] -} -``` +Same as for [GET /api/v1/registrant/contacts/$UUID](#get-apiv1registrantcontactsuuid). ### Response on failure ```