GET /ops/showtype/{protocol}
Description
Retrieves the structure of a specific type of opevent
Resource URL
http://localhost:8090/ops/showtype/{typename}
Parameters
| typename | mandatory | The opevent type being queried |
| format | mandatory | The format of the response data. json is currently the only supported format |
Response Codes
| Response Code | Description |
|---|---|
| 200 | Success |
Example Transaction
Request
GET /api/router/service/instance-1/ops/showtype/http HTTP/1.0
Connection: close
Host: localhost
Authorization: Basic YWRtaW46Y2hhbmdlbWU=
Response
HTTP/1.1 200 OK
Server: Gateway
Connection: close
X-CorrelationID: Id-0261bd531a0000000000000052f17db2 0
Date: Wed, 09 Jul 2014 15:34:26 GMT
Date: Wed, 09 Jul 2014 15:34:26 GMT
Expires: Wed, 09 Jul 2014 15:34:26 GMT
Server: Gateway
Content-Type: text/html; charset=utf-8
{
"name": "http",
"super": "transactions",
"fields": [
{
"name": "uri",
"type": "TEXT"
},
{
"name": "status",
"type": "INTEGER"
},
{
"name": "statustext",
"type": "TEXT"
},
{
"name": "method",
"type": "TEXT"
},
{
"name": "vhost",
"type": "TEXT"
}
]
}