mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
parent
ddeb1fdcd1
commit
9a4361cad7
2 changed files with 49 additions and 0 deletions
|
@ -17,4 +17,5 @@ Main communication specification through Restful EPP (REPP):
|
||||||
|
|
||||||
[Contact related functions](repp/v1/contact.md)
|
[Contact related functions](repp/v1/contact.md)
|
||||||
[Domain related functions](repp/v1/domain.md)
|
[Domain related functions](repp/v1/domain.md)
|
||||||
|
[Domain transfers](repp/v1/domain_transfers.md)
|
||||||
[Account related functions](repp/v1/account.md)
|
[Account related functions](repp/v1/account.md)
|
||||||
|
|
48
doc/repp/v1/domain_transfers.md
Normal file
48
doc/repp/v1/domain_transfers.md
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Domain transfers
|
||||||
|
|
||||||
|
## POST /repp/v1/domain_transfers
|
||||||
|
Transfers domains.
|
||||||
|
|
||||||
|
#### Request
|
||||||
|
```
|
||||||
|
GET /repp/v1/domain_transfers
|
||||||
|
Accept: application/json
|
||||||
|
Content-Type: application/json
|
||||||
|
Authorization: Basic dGVzdDp0ZXN0dGVzdA==
|
||||||
|
|
||||||
|
{
|
||||||
|
"data":{
|
||||||
|
"domainTransfers":[
|
||||||
|
{
|
||||||
|
"domainName":"example.com",
|
||||||
|
"transferCode":"63e7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"domainName":"example.org",
|
||||||
|
"transferCode":"15f9"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Response on success
|
||||||
|
```
|
||||||
|
HTTP/1.1 204
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Response on failure
|
||||||
|
```
|
||||||
|
HTTP/1.1 400
|
||||||
|
Content-Type: application/json
|
||||||
|
{
|
||||||
|
"errors":[
|
||||||
|
{
|
||||||
|
"title":"example.com transfer code is wrong"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title":"example.org does not exist"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue