Skip to main content

Search spaces

GET 

/wiki/search/spaces

History

VersionChanges
v6.2.16Added in: v6.2.16

Search spaces.

Request

Query Parameters

    teamID stringrequired

    The team ID

    requestUserID string

    User ID, this parameter can only be passed when calling as an Oauth bot. It is used to perform operations as the specified user

    limit integer

    Possible values: <= 500

    Default value: 500

    The default value for the number of results to return in this request is 500. Values exceeding 500 or ≤0 will be reset to 500

    cursor string

    The starting location of this request

    keyword stringrequired

    Possible values: <= 100 characters

    The search keyword

Responses

Request is successful.

Schema

    data

    object

    hasNext boolean

    Whether has more result

    nextCursor string

    The start of next page

    total integer

    The total number of matched spaces

    spaces

    object[]

  • Array [

  • fields

    object

    id string

    The space ID

    title string

    The space title

    highlightFields

    object

    title string[]

    Matched title

  • ]

  • result string

    The result of this request.

    errorCode string

    The error code of this request.

    errorMsg string

    Error message for this request.

    errorData object

    Error meta data for this request.

Loading...