latest for the highest one.
From nothing to a published API
- Create the destination.
- Create its first version, with access and languages.
- Add an endpoint. In a terminal, you pick a card and its properties.
- Publish the version and wait until it is live.
Destinations
JSON for
create. description and tags are optional:
Publish
latest. Progress goes to stderr. Ctrl-C stops the waiting, not the publish. occtoo destinations versions show tells you how far it is.
Versions
The first version takes its settings from prompts or JSON.
allowedOrigins and description are optional:
authenticationisProtected(callers send an access token) orAllowAnonymous. It can’t change later.languageis the code callers send.sourceLanguageis the language of the card data served for it.
versions edit. Every field is optional:
Endpoints
JSON for
endpoints create. description, alias, facet, segments and relations are optional:
endpoints edit. content replaces everything the endpoint returns, so send all of it:
Endpoints on a published version
Before its version is published, an endpoint changes at once. On a published version, new content waits as pending until the nextocctoo destinations publish. Pending content can add properties, relations and facets, but can’t remove them or change an alias. The name and description are fixed.