api
api copied to clipboard
A high-performance RESTful API layer designed in support of API-first development and COPE. Connects your content to the world
`stack-trace` has been updated recently with a breaking change. Installing it causes the error `Error [ERR_REQUIRE_ESM]: Must use import to load ES Module`. The version should be fixed to 0.0.10
In a similar fashion to web, @jimlambie informs me that API may include a friendlier landing page. As a way of helping setup API, this page could include a checklist,...
Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.8 to 5.0.0. Release notes Sourced from bcrypt's releases. v5.0.0 Fix the bcrypt "wrap-around" bug. It affects passwords with lengths >= 255. It is uncommon but it's...
### Expected behaviour When removing an index from a collection, API would notice this, and remove it from the MongoDB collection. This has only been tested with MongoDB. ### Actual...
If I call a media bucket with a filter query like /media/mediaStore?filter={"status":"todo"} it seems it always needs to be authenticated. There should be a configuration setting to turn it off...
## Observation Options for document-related actions that _don't_ inject a history state are limited. **Example actions that would not require a payload-driven update to a document** - Refund an order...
### Expected behavior When making a POST requst – for example when authenticating via `/token` – API should should accept the request even if `charset=UTF-8` is present in the `Content-Type`...
Currently, API loads all the required files from directory paths relative to the current working directory. We need a way of specifying a different base path. Potentially a breaking change?
A couple of things I noticed when referring to the documentation for field validation regex in API https://docs.dadi.cloud/api/6.1 **1. Missing quotes in regex example** In the documentation for Collection Fields...
Cluster mode is currently disabled by default and enabled by setting `cluster: true` in the configuration file. Change this to enabled by default, disabled via configuration.