<back to all web services
ApiTrafficLogs
Returns recent log entries
Pagination - /?recstart=0&reccount=1
The following routes are available for this service:| GET | /{Workspace}/ApiTrafficLog | | |
|---|
ApiTrafficLogs Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Workspace | path | string | No | |
| Entries | query | List<ApiLogEntry> | No | |
| RecordsAvailable | query | long | No | |
ApiLogEntry Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | form | string | No | |
| RuleName | form | string | No | |
| Date | form | string | No | |
| Workspace | form | string | No | |
| Url | form | string | No | |
| Method | form | string | No | |
| Payload | form | string | No | |
| Direction | form | string | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /{Workspace}/ApiTrafficLog HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv