Download OpenAPI specification:Download
Capture all requests and save them to a unique bin
Get all request bins (a list of bin ids and request count for that bin)
{- "bins": [
- {
- "bin_id": "b70fa97f-3b45-460c-9232-49cbcf83f256",
- "created_at": "2019-08-24T14:15:22Z",
- "expire_at": "2019-08-24T14:15:22Z",
- "request_count": 0
}
], - "count": 0
}
Create a new request bin which respond as given
object The response specifications for the request bin | |
object The config for the request bin |
{- "response": {
- "status_code": 100,
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "body": "string"
}, - "service": {
- "delay": 0,
- "ttl": 0
}
}
{- "bin_id": "b70fa97f-3b45-460c-9232-49cbcf83f256",
- "created_at": "2019-08-24T14:15:22Z",
- "expire_at": "2019-08-24T14:15:22Z",
- "config": {
- "response": {
- "status_code": 100,
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "body": "string"
}, - "service": {
- "delay": 0,
- "ttl": 0
}
}, - "request_count": 0
}
Get the config and summary for a request bin identified by it's id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
{- "bin_id": "b70fa97f-3b45-460c-9232-49cbcf83f256",
- "created_at": "2019-08-24T14:15:22Z",
- "expire_at": "2019-08-24T14:15:22Z",
- "config": {
- "response": {
- "status_code": 100,
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "body": "string"
}, - "service": {
- "delay": 0,
- "ttl": 0
}
}, - "request_count": 0
}
Delete a request bin identified by it's id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
{- "status_code": 100,
- "status_text": "string",
- "details": {
- "params": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "headers": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "query": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "cookies": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "signedCookies": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "body": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}
}
}
Update the config for a request bin identified by it's id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
object The response specifications for the request bin | |
object The config for the request bin |
{- "response": {
- "status_code": 100,
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "body": "string"
}, - "service": {
- "delay": 0,
- "ttl": 0
}
}
{- "bin_id": "b70fa97f-3b45-460c-9232-49cbcf83f256",
- "created_at": "2019-08-24T14:15:22Z",
- "expire_at": "2019-08-24T14:15:22Z",
- "config": {
- "response": {
- "status_code": 100,
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "body": "string"
}, - "service": {
- "delay": 0,
- "ttl": 0
}
}, - "request_count": 0
}
Get all requests which are captured in the request bin identified by it's id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
{- "request": [
- {
- "id": 1,
- "datetime": "2019-08-24T14:15:22Z",
- "ip": "192.168.0.1",
- "ips": [
- "192.168.0.1"
], - "protocol": "http",
- "secure": true,
- "method": "GET",
- "path": "string",
- "hostname": "string",
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "raw_body": "string",
- "parsed_body": { },
- "query": { }
}
], - "count": 0
}
Remove all requests which are captured in the request bin identified by it's id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
{- "status_code": 100,
- "status_text": "string",
- "details": {
- "params": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "headers": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "query": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "cookies": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "signedCookies": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "body": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}
}
}
Get a single request from a request bin identified by the bin id anf the reuest id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
requestId required | integer (PositiveInteger) >= 1 The request |
{- "id": 1,
- "datetime": "2019-08-24T14:15:22Z",
- "ip": "192.168.0.1",
- "ips": [
- "192.168.0.1"
], - "protocol": "http",
- "secure": true,
- "method": "GET",
- "path": "string",
- "hostname": "string",
- "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "raw_body": "string",
- "parsed_body": { },
- "query": { }
}
Delete a single request from a request bin identified by the bin id anf the reuest id
binId required | string <uuid> (Uuid) ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{... The bin id |
requestId required | integer (PositiveInteger) >= 1 The request |
{- "status_code": 100,
- "status_text": "string",
- "details": {
- "params": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "headers": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "query": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "cookies": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "signedCookies": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}, - "body": {
- "message": "string",
- "path": [
- "string"
], - "type": "string",
- "context": {
- "key": "string",
- "label": "string",
- "value": "string"
}
}
}
}