mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-09 23:05:12 +02:00
Add a new `list-my-workspaces` operation so non-admin users can discover which workspaces they have access to. For OSS IAM, regular users see their home workspace; admins see all workspaces. Also add the full IAM service to both OpenAPI and AsyncAPI specs — it was previously undocumented despite being a first-class service on both HTTP and WebSocket interfaces.
21 lines
533 B
YAML
21 lines
533 B
YAML
type: object
|
|
description: |
|
|
API key creation fields. Used with `create-api-key`.
|
|
properties:
|
|
user_id:
|
|
type: string
|
|
description: User to create the key for.
|
|
examples:
|
|
- usr_abc123
|
|
name:
|
|
type: string
|
|
description: Operator-facing label for the key (e.g. "laptop", "CI").
|
|
examples:
|
|
- laptop
|
|
expires:
|
|
type: string
|
|
description: |
|
|
Optional expiry timestamp in ISO-8601 UTC. Empty string or
|
|
omitted means the key does not expire.
|
|
examples:
|
|
- "2027-01-01T00:00:00Z"
|