ReST API for DeFinMa (NodeJS)
e976d45ded
* commit '3dda3d77a13f84a40f8132f49f4ad704f2810a75': minor fixes implemented added filters added workaround for 'added' field compatible to MongoDB 3.6 implemented x-total-items header spectrum field working again reworked filters added filters restructured aggregation implementation of measurement fields first implementation of fields base for csv export switched to aggregation, included material sort keys sorting for direct sample properties added added /samples/count changed last-id behaviour to from-id implemented paging fixed validation to return measurements in /sample/{id} added status filter for materials added status filter |
||
---|---|---|
.idea | ||
api | ||
data_import | ||
src | ||
static | ||
.gitignore | ||
build.bat | ||
manifest.yml | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json |
Digital fingerprint of plastics - API
This is the API to access the database of the digital fingerprint of plastics project.
API documentation
The API is documented using the Open API Specification 3.0.2 and hosted together with the API under the /api
path
Testing
Testing is done with mocha and can be executed using npm test
.