| GET | /{Workspace}/IntegrationLog |
|---|
export class LogEntry
{
public Id: string;
public WorkspaceId: string;
public RuleId: string;
public Date: string;
public Thread: string;
public Level: string;
public Name: string;
public Message: string;
public Context: string;
public constructor(init?: Partial<LogEntry>) { (Object as any).assign(this, init); }
}
/** @description Returns recent log entries, optionally filtered by log level1Pagination - /?recstart=0&reccount=1Log Levels - /?levels=WARN,ERROR */
export class WorkspaceLogs
{
public Workspace: string;
public Entries: LogEntry[];
public RecordsAvailable: number;
public constructor(init?: Partial<WorkspaceLogs>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv