Field Squared API Services

<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:
NameParameterData TypeRequiredDescription
WorkspacepathstringNo
EntriesqueryList<ApiLogEntry>No
RecordsAvailablequerylongNo
ApiLogEntry Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
RuleNameformstringNo
DateformstringNo
WorkspaceformstringNo
UrlformstringNo
MethodformstringNo
PayloadformstringNo
DirectionformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv