Salta al contenuto principale

Navigazione Sito

Il Tuo Account

Scegli Lingua

Wikis

Create, edit, delete and list wikis.

At their core, wikis are free form blocks of wiki text that are rendered into HTML and displayed to the user. There are several wiki namespaces that are used for different purposes and have different sets of features enabled. The namespace and title uniquely defines a wiki. The display_title, if available, is displayed to the user in place of the wiki's title but does not change the location of the wiki.

Namespaces

The namespace determines which fields are returned in API responses and also which fields are modifiable at the wiki create and edit endpoints. There are 6 namespaces:

  • CATEGORY: The content hierarchy — these wikis can be nested in a tree structure. Guides are associated with a wiki in this namespace.
  • ITEM: Parts and tools that can be attached to guides.
  • TEAM: About pages for teams with the title matching the team's teamid.
  • USER: About pages for users with the title matching the user's userid.
  • INFO: Site information such as licensing and about.
  • WIKI: Documentation that doesn't belong in the other namespaces.

GET /wikis/CATEGORY?display=hierarchy

Returns a hierarchical list of categories along with their display titles. Note that categories with the stub flag are omitted.

GET /wikis/{namespace}

Returns a flat list of light wiki objects.

GET /wikis/{namespace}?display=titles

Returns a flat list of wiki titles.

GET /wikis/{namespace}/{title}

Returns detailed information about the wiki with the given namespace and title.