documentSpaces

Returns all document spaces.

Changed on

Returns document spaces visible to the current user. <Check title="Required Permissions" icon="key">The user must have at least read permission for each returned document space.</Check>

get/documentspaces

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/documentspaces
  • Auth: HTTP bearer

Query parameters

pageinteger

Page number for pagination

pageSizeinteger

Number of items per page

orderbystring

The properties to order by

filterbystring

The filter expression to filter by

Response

OK

idstring uuid

The id of the entity.

createdOnstring date-time

The date this entity was created.

createdBystring uuid

The id of the user who created this entity.

updatedOnstring date-time

The date this entity was last modified.

updatedBystring uuid

The id of the user who last modified this entity.

namestring nullable

The name of the document space.

isExternalboolean

Whether this document space is coming from an external workspace (awork Connect).

emojistring nullable

The emoji of the document space.

colorstring nullable

The color of the document space for display purposes in the app. Can be null when no color assigned.

ordernumber double nullable

The order of the document space in the list of document spaces.

workspaceAccessLevelstring nullable

Determines the level of access to this document space granted to all workspace users. Can be either not set (no access), read, or manage.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id GetDocumentSpaces removed and replaced with documentSpaces_GetDocumentSpaces