Skip to main content

Get template detail by template ID

GET 

/wiki/templates/:templateID

History

VersionChanges
v6.12.0Added in: v6.12.0

Get template detail by template ID.

Request

Path Parameters

    templateID stringrequired

    The template ID.

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

Responses

成功

Schema

    data

    object

    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

    content string

    The content of template, only available when the template is a collaboration or default type.

    token string

    The token of template, only available when the template is a collaboration type.

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