Initial commit
This commit is contained in:
7
mocks/api/v2/dena/account/beneficiaries/10/DELETE.mock
Normal file
7
mocks/api/v2/dena/account/beneficiaries/10/DELETE.mock
Normal file
@@ -0,0 +1,7 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
6
mocks/api/v2/dena/account/beneficiaries/10/OPTIONS.mock
Normal file
6
mocks/api/v2/dena/account/beneficiaries/10/OPTIONS.mock
Normal file
@@ -0,0 +1,6 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
@@ -0,0 +1,6 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
@@ -0,0 +1,19 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
{
|
||||
"currency": "btc",
|
||||
"data": null,
|
||||
"address": "111",
|
||||
"description": null,
|
||||
"id": 140,
|
||||
"name": "Hello",
|
||||
"sent_at": "2020-09-10T12:56:05Z",
|
||||
"state": "active",
|
||||
"uid": "ID787E383938"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
{
|
||||
"id": 10,
|
||||
"currency": "btc",
|
||||
"uid": "IDE7FE1E3BE3",
|
||||
"name": "Test New",
|
||||
"description": null,
|
||||
"data": {
|
||||
"address": "wueieuiwue"
|
||||
},
|
||||
"state": "active",
|
||||
"sent_at": "2020-12-17T09:55:42Z"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
{
|
||||
"id": 10,
|
||||
"currency": "btc",
|
||||
"uid": "IDE7FE1E3BE3",
|
||||
"name": "Test",
|
||||
"description": null,
|
||||
"data": {
|
||||
"address": "wueieuiwue"
|
||||
},
|
||||
"state": "active",
|
||||
"sent_at": "2020-12-17T09:55:42Z"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
@@ -0,0 +1,9 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
204
|
||||
@@ -0,0 +1,9 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
204
|
||||
18
mocks/api/v2/dena/account/beneficiaries/GET.mock
Normal file
18
mocks/api/v2/dena/account/beneficiaries/GET.mock
Normal file
@@ -0,0 +1,18 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":9,"currency":"btc","name":"Mom","description":null,"data":{"address":"1MM67SnmHrRcuRtbQunU2HUkembjxuzrgD"},"state":"active"},
|
||||
{"id":10,"currency":"btc","name":"Pentagon","description":null,"data":{"address":"1MM67SnmHrRcuRtbQunU2HUkembjxuzrgD"},"state":"pending"},
|
||||
{"id":8,"currency":"usd","name":"My local bank","description":null,"data":{"bank_name":"ABC Bank","full_name":"John Smith","account_number":"123456789"},"state":"active"},
|
||||
{"id":9,"currency":"btc","name":"Mom2","description":null,"data":{"address":"1MM67SnmHrRcuRtbQunU2HUkembjxuzrgD"},"state":"active"},
|
||||
{"id":10,"currency":"btc","name":"Pentagon2","description":null,"data":{"address":"1MM67SnmHrRcuRtbQunU2HUkembjxuzrgD"},"state":"pending"},
|
||||
{"id":8,"currency":"usd","name":"My local bank2","description":null,"data":{"bank_name":"ABC Bank","full_name":"John Smith","account_number":"123456789"},"state":"active"},
|
||||
{"id":9,"currency":"btc","name":"Mom3","description":null,"data":{"address":"1MM67SnmHrRcuRtbQunU2HUkembjxuzrgD"},"state":"active"},
|
||||
{"id":10,"currency":"btc","name":"Pentagon3","description":null,"data":{"address":"1MM67SnmHrRcuRtbQunU2HUkembjxuzrgD"},"state":"pending"},
|
||||
{"id":8,"currency":"usd","name":"My local bank3","description":null,"data":{"bank_name":"ABC Bank","full_name":"John Smith","account_number":"123456789"},"state":"active"}
|
||||
]
|
||||
6
mocks/api/v2/dena/account/beneficiaries/OPTIONS.mock
Normal file
6
mocks/api/v2/dena/account/beneficiaries/OPTIONS.mock
Normal file
@@ -0,0 +1,6 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
@@ -0,0 +1,19 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
{
|
||||
"currency": "btc",
|
||||
"data": null,
|
||||
"address": "111",
|
||||
"description": null,
|
||||
"id": 140,
|
||||
"name": "Hello",
|
||||
"sent_at": "2020-09-10T12:56:05Z",
|
||||
"state": "pending",
|
||||
"uid": "ID787E383938"
|
||||
}
|
||||
20
mocks/api/v2/dena/account/beneficiaries/POST.mock
Normal file
20
mocks/api/v2/dena/account/beneficiaries/POST.mock
Normal file
@@ -0,0 +1,20 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
{
|
||||
"id": 10,
|
||||
"currency": "btc",
|
||||
"uid": "IDE7FE1E3BE3",
|
||||
"name": "Test new",
|
||||
"description": null,
|
||||
"data": {
|
||||
"address": "wueieuiwue"
|
||||
},
|
||||
"state": "active",
|
||||
"sent_at": "2020-12-17T09:55:42Z"
|
||||
}
|
||||
Reference in New Issue
Block a user