Project API

Get project logs paginated

Changed on

Server-side paginated project logs including the total count of matching logs.

get/rest/api/v1/projects/{projectId}/logs/page

Request

  • Base URL
    https://api.metacopier.io
  • Auth
    API key in header X-API-KEY

Path parameters

projectIdstring uuid required

Query parameters

limitinteger

Page size (default 25, max 10000)

offsetinteger

Number of logs to skip

logTypeIdinteger[]

Only logs of these log type IDs (repeat the parameter or separate with commas). Default: Error, Warning and Info

searchstring

Case-insensitive search in the log text and the account alias / login

onlyUnacknowledgedboolean

Only logs that are not acknowledged

sortBystring

Sort field: date, logType, text or accountId (default date)

sortDirectionstring

Sort direction: asc or desc (default desc)

categorystring[]

Only logs of these notification categories (repeat the parameter or separate with commas)

eventTypestring[]

Only logs of these notification event types (repeat the parameter or separate with commas)

sourceFeatureTypeIdinteger

Only logs produced by this feature type

sourceFeatureIdstring uuid

Only logs produced by this feature

Response

OK

limitinteger

Maximum number of logs per page

offsetinteger

Offset of the first returned log

totalCountinteger

Total number of logs matching the filters

Example response

{
  "limit": 25,
  "totalCount": 1250
}

Changes