REST API — Workspace context
เนื้อหานี้ยังไม่มีในภาษาของคุณ
| Method | Path | What it does |
|---|---|---|
GET |
/api/workspace-context/directory |
Who is in this workspace: titles, responsibilities, reporting lines, teams, and which channels can reach each person (never the address itself). |
PUT |
/api/workspace-context/extensions/{namespace} |
Store one package’s data on the workspace (owner only), validated against the schema the package registered. The body is the payload itself. |
GET |
/api/workspace-context/identities |
The Slack and Teams users linked to this workspace’s members. |
POST |
/api/workspace-context/identities |
Link a Slack or Teams user to a member (owner only), so notifications can reach them there. A hand link is used for delivery only; it never signs anyone in. |
DELETE |
/api/workspace-context/identities/{identity_id} |
Unlink a Slack or Teams user from a member of this workspace (owner only). |
PATCH |
/api/workspace-context/members/{user_id} |
Change a member’s role, title, responsibilities, reporting line or time zone. The owner may change anything; a member may change their own title and time zone. |
GET |
/api/workspace-context/profile |
This workspace’s profile: what it is for, where it is, and what packages store in it. |
PUT |
/api/workspace-context/profile |
Set the workspace’s profile (owner only). Fields left out keep their value; blank text clears one. |