Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods apps.activities.list.json
Raw

priv/docs/methods/apps.activities.list.json

{
"args": {
"app_id": {
"desc": "The id of the app to get activities from.",
"example": "A12345",
"required": true
},
"component_id": {
"desc": "The component id of log events to be returned. Will be 'FnXXXXXX' for functions, and 'WfXXXXXX' for workflows",
"example": "Wf013SMGL4V9",
"required": false,
"type": "string"
},
"component_type": {
"desc": "The component type of log events to be returned. Acceptable values are ('events\\_api', 'workflows', 'functions', 'tables').",
"example": "workflows",
"required": false,
"type": "string"
},
"cursor": {
"desc": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. See pagination for more detail.",
"example": "bG9nX2lkOjc5NjQ1NA==",
"required": false,
"type": "string"
},
"limit": {
"desc": "The maximum number of items to return.",
"example": "100",
"required": false,
"type": "integer"
},
"log_event_type": {
"desc": "The event type of log events to be returned.",
"example": "test_log_event",
"required": false,
"type": "string"
},
"max_date_created": {
"desc": "The latest timestamp of the log to retrieve (epoch microseconds).",
"example": "1646665572336299",
"required": false,
"type": "integer"
},
"min_date_created": {
"desc": "The earliest timestamp of the log to retrieve (epoch microseconds).",
"example": "1646665572336251",
"required": false,
"type": "integer"
},
"min_log_level": {
"desc": "The minimum log level of the log events to be returned. Defaults to 'info'. Acceptable values (in order of relative importance from smallest to largest) are ('trace', 'debug', 'info', 'warn', 'error', 'fatal').",
"example": "info",
"required": false,
"type": "string"
},
"sort_direction": {
"desc": "The direction you want the data sorted by (always by timestamp) _Acceptable values:_ `asc` `desc`",
"example": "asc",
"required": false,
"type": "string"
},
"source": {
"desc": "The source of log events to be returned. Acceptable values are ('slack', 'developer').",
"example": "slack",
"required": false,
"type": "string"
},
"team_id": {
"desc": "The team who owns this log.",
"example": "T12345",
"required": false,
"type": "string"
},
"trace_id": {
"desc": "The trace id of log events to be returned.",
"example": "Tr432f2",
"required": false,
"type": "string"
}
},
"desc": "Get logs for a specified app",
"errors": {
"free_team_not_allowed": "Feature is only available on a paid team.",
"invalid_app": "App ID provided is not valid for team and user.",
"invalid_app_id": "App ID provided is not valid.",
"invalid_args": "Required arguments either were not provided or contain invalid values.",
"invalid_cursor": "Value passed for `cursor` was not valid or is no longer valid.",
"restricted_plan_level": "Feature is not available on this team"
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "hosting:read",
"url": "https://docs.slack.dev/reference/scopes/hosting.read"
}
]
}
}