Skip to main content

List the spaces of an organization

GET 

/orgs/{org}/spaces

List the paginated details of the spaces of an organization.

Path Parameters


    org handlerequired

    The handle of the organization.

    Possible values: non-empty and <= 50 characters

Query Parameters


    page int32

    The index of the page.

    Possible values: >= 1

    Default value: 1

    page-size int32

    The maximum size of the pages.

    Possible values: >= 1 and <= 50

    Default value: 20

    sort string

    The criteria used to sort the spaces.

    Possible values: [handle, createdAt]

    Default value: handle

    search string

    The term used to search the spaces by handle or alias.


    after any

    The term used to search spaces after or equal to the specified date.


    before any

    The term used to search spaces before or equal to the specified date.

Responses

The requested page of the list of spaces of the organization

Headers

  • Page-Total

    integer

    The total number of pages available.

  • Page-Size

    integer

    The selected maximum size of the pages.

  • Page-Current

    integer

    The index of the requested page.

  • Item-Total

    integer

    The total number of items.

Response Body

application/json