Spanish Total.js
English
Documentation For AI agents
Contents

API reference

Entries are the methods, properties, events and commands of your API, with their signature, parameters, return value and examples.

.md
On this page

Open a page (usually in the Reference section) and press Add entry.

Fields of an entry

FieldExampleNotes
Nameclient.get()Used by the search and by Docs_entry
Typemethodmethod, property, event, delegate, command, rest, glossary, component, config, class, type
Signatureclient.get(path, [options])How it is called; shown as the title of the card
SummarySends a GET request.One sentence
Parameterspath, optionsName, type, optional, default and description
ReturnsPromise<Object>Type and description
DetailsMarkdown, for everything else
ExamplesTitle, language and code
Since2.0The version where it appeared
DeprecatedUse client.fetch()Empty, or what to use instead
KeywordsWords 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.

Made in Europe