options for list request.
Maps over entry list.
options for entry list request.
Loads a single entry. Expects dmShortID / model to be set.
If the model is not public, you also need to provide a token.
Edits an entry with safe put. Expects dmShortID / model to be set.
Expects a _modified field in the value. Will only update if the entry has not been changed since.
If model PUT is not public, you also need to provide a token.
id of entry to edit
values to set. undefined fields are ignored
Loads the schema of a model. Expects dmShortID / model to be set.
Creates a new entry. Expects dmShortID / model to be set.
If model POST is not public, you also need to provide a token.
Entry value that satisfies the model's schema.
Edits an entry. Expects dmShortID / model to be set.
If model PUT is not public, you also need to provide a token.
id of entry to edit
values to set. undefined fields are ignored
Returns the public api root endpoint. Expects dmShortID to be set.
Loads asset list. Expects dmShortID / assetGroup to be set.
If the assetGroup is not public, you also need to provide a token.
Uploads an asset. Expects dmShortID / assetGroup / file to be set.
If the assetGroup is not public, you also need to provide a token.
Uploads multiple assets. Expects dmShortID / assetGroup / files to be set.
If the assetGroup is not public, you also need to provide a token.
Loads a single asset. Expects dmShortID / assetGroup to be set.
If the asset group is not public, you also need to provide a token.
Edits asset metadata. Expects dmShortID and assetGroup to be set.
Fetches resource list. Expects resource to be set. subdomain defaults to "datamanager".
Fetches https://<subdomain>.entrecode.de/<resource>?_list=true&size=<options.size ?? 25>
options for list request.
Fetches a single resource. Expects resource to be set. subdomain defaults to "datamanager".
Pass identifying query params as options.
query params to identify the resource.
Edits a single resource via PUT. Expects resource to be set. subdomain defaults to "datamanager".
Pass identifying query params as options.
query params to identify the resource.
the resource body to PUT.
Fetches raw route. Expects route to be set. subdomain defaults to "datamanager".
Fetches https://<subdomain>.entrecode.de/<route>?<options>
Use this when no other fdk method can give you your request.
options that are converted to query params.
OptionalfetchOptions: object(optional) options passed to fetch.
Creates a new datamanager.
Edits a datamanager. Expects dmID to be set.
Creates a new model. Expects dmID to be set.
Edits a model. Expects dmID to be set.
Creates a new template.
Creates a new asset group. Expects dmID to be set.
Edits an asset group. Expects dmID to be set.
Edits a DM client. Expects dmID to be set.
Creates a new role. Expects dmID to be set.
Edits a role. Expects dmID to be set.
Edits a DM account. Expects dmID to be set.
Loads dm-history entries.
Creates an account client.
Edits an account client.
Creates a group.
Edits a group.
Creates an invite.
Edits an invite.
Edits an account.
Creates a token for an account.
Loads a DatamanagerResource by its long id. Requires token.
Loads datamanager list. Requires auth.
options for list request.
Loads model list. Expects dmID to be set. Requires auth.
options for entry list request.
Defines a custom storage to use for auth data. In most cases, this should not be needed. By default, auth will be stored in-memory, using a JS Map. This should be fine for NodeJS. In the Browser, it's better to use oidc-client and ignore all Auth methods here.
Loads entry list. Expects
dmShortID/modelto be set. If the model is not public, you also need to provide atoken.