Skip to main content

Get template list

GET 

/wiki/templates

History

VersionChanges
v6.12.0Added in: v6.12.0

Get template list.

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

    contextType stringrequired

    Possible values: [space, team, system]

    Context Type.

    contextID stringrequired

    Context ID.

    start integerrequired

    The start index of the list

    limit integerrequired

    The limit of the list, maximum 200

Responses

Request is successful.

Schema

    data

    object

    templates

    object[]

  • Array [

  • id string

    The template ID

    title string

    The template title

    contextType string

    The context type

    contextID string

    The context ID

    refType string

    The reference type

    refID string

    The reference ID

    subRefType string

    The sub reference type

    createdTime integer

    The createdTime of template

    updatedTime integer

    The updatedTime of template

  • ]

  • total integer

    The total number of templates

    start integer

    The start index of the list

    count integer

    The number of templates in the list

    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...