API reference
Entries are the methods, properties, events and commands of your API, with their signature, parameters, return value and examples.
Open a page (usually in the Reference section) and press Add entry.
Fields of an entry
| Field | Example | Notes |
|---|---|---|
| Name | client.get() | Used by the search and by Docs_entry |
| Type | method | method, property, event, delegate, command, rest, glossary, component, config, class, type |
| Signature | client.get(path, [options]) | How it is called; shown as the title of the card |
| Summary | Sends a GET request. | One sentence |
| Parameters | path, options | Name, type, optional, default and description |
| Returns | Promise<Object> | Type and description |
| Details | Markdown, for everything else | |
| Examples | Title, language and code | |
| Since | 2.0 | The version where it appeared |
| Deprecated | Use client.fetch() | Empty, or what to use instead |
| Keywords | Words that help the search |
Readers see each entry as a card with a colored type, its parameters in a table and a link that copies its address. Agents receive the same entry as clean Markdown.
Anchors
Every entry has an anchor, made from its name: #get. You can change it in the editor.
The same entry in another version
When a version is created as a copy of another, every page and entry remembers its original. Readers then see a link to the same page or entry in the other version.