<back to all web services
WorkspaceLogs
Returns recent log entries, optionally filtered by log level1
Pagination - /?recstart=0&reccount=1Log Levels - /?levels=WARN,ERROR
The following routes are available for this service:| GET | /{Workspace}/IntegrationLog | | |
|---|
WorkspaceLogs Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Workspace | path | string | No | |
| Entries | query | List<LogEntry> | No | |
| RecordsAvailable | query | long | No | |
LogEntry Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | form | string | No | |
| WorkspaceId | form | string | No | |
| RuleId | form | string | No | |
| Date | form | string | No | |
| Thread | form | string | No | |
| Level | form | string | No | |
| Name | form | string | No | |
| Message | form | string | No | |
| Context | 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}/IntegrationLog HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv