GET
/
workspaces
/
libraries
curl --request GET \
  --url https://api.mudstack.com/workspaces/libraries \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>'
[
  {
    "id": "<string>",
    "workspace_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "thumbnail_file_id": "<string>",
    "defaultAvatar": 123,
    "created_by_user_id": "<string>",
    "sequence": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Response

200 - application/json
A list of libraries
id
string
required

Unique identifier for the library.

workspace_id
string
required

Identifier for the workspace to which the library belongs.

name
string
required

Name of the library.

description
string
required

Description of the library.

thumbnail_file_id
string
required

Identifier for the thumbnail file associated with the library.

defaultAvatar
number
required

Default avatar for the library.

created_by_user_id
string
required

Identifier for the user who created the library.

sequence
integer
required

Sequence number for ordering libraries.