API

WorkspaceActivity

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{org_slug}/pages/workspace_activity load Sidebar Workspace Activity page contract

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

workspace_activity, err := client.WorkspaceActivity(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(workspace_activity)

Lua

Construct client as shown in the Lua setup, then call the operations:

local workspace_activity, err = client:WorkspaceActivity():load({ organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$workspace_activity = $client->WorkspaceActivity()->load(["organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

workspace_activity = client.WorkspaceActivity().load({"organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

workspace_activity = client.WorkspaceActivity.load({ "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const workspace_activity = await client.WorkspaceActivity().load({ organization_id: "example" })

Fields

Field Type Required Description
live_activity array Yes Live Activity
recent_items array Yes Recent Items
unresolved_notification_count integer Yes Unresolved Notification Count

load

GET /api/v1/organizations/{org_slug}/pages/workspace_activity

Operation ID: api_v1_pages_workspace_activity.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
org_slug path string Yes

Responses

200: Sidebar Workspace Activity page contract

application/json

Property Type Required Description
live_activity array of object or object or object or object Yes
recent_items array of object or object or object or object or object or object or object Yes
unresolved_notification_count integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway