The extensions installed in the database, and its id (any token).
const url = 'https://example.com/datanotes/extensions/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datanotes/extensions/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
Example generated
{}Responses
Section titled “Responses”Done.
object
An installed extension as the registry keeps it (datanotes extension install writes it).
object
2 to 40 lowercase letters, digits or -, starting with a letter.
The module API version the extension’s entry file exports.
object
Git: the URL as given.
Git: the tag or commit id given (or the newest tag chosen).
Local: the absolute folder, with / separators.
The git commit id (40 hex), or local-<12 hex> for a folder.
The extension’s named token: ext-
Each role of the manifest, bound to a qualified table.
object
object
The qualified table bound to the role.
True for a role the extension owns.
Dependency roles: manifest column to the user’s column, only where they differ.
object
Dependency roles: optional manifest columns the bound table does not have.
The token’s write patterns (qualified table names).
The batch that brought the database from previous to this record.
Example
{ "extensions": [ { "source": { "kind": "git" } } ]}Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Missing or wrong bearer token.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Unexpected error.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}