Skip to main content
Version: 2.0

Wiki Template

This resource represents a template. Use it to get, create, update, and delete templates.

contextType represents the context type, and contextID represents the context ID. Different context types correspond to different context IDs. There are three context types:

  • space: Space template, with spaceID as the ID.
  • team: Team template, with teamID as the ID.
  • system: System template, with an empty ID.

refType represents the reference type, which has the following reference types:

  • default: Wiki template.
  • collaboration: Wiki collaboration template.
  • word: WPS Word template.
  • excel: WPS Excel template.
  • ppt: WPS PPT template.
  • collaborationPlugin: Collaboration plugin template.

subRefType represents the sub-reference type. It has a value only when refType is collaborationPlugin, representing the type provided by the plugin. Different plugins are distinguished by subRefType.

refID represents the reference ID. It is empty when refType is default.

Authentication

Security Scheme Type:

oauth2

OAuth Flow (authorizationCode):

Token URL: https://your-domain/oauth2/token

Authorization URL: https://your-domain/oauth2/authorize

Scopes:

  • read:wiki:template: Get template information