You should note that if you send through anything called "password", it will automagically encrypt using bcrypt, unless you send the parameter password_override=1
.
The endpoint /model
shows us all available models.
The endpoint /model/modelname
gives us a description of a model.
The /cache
endpoint should show us some info about the state of our Memcached server.
If you replace /api
with /csv
on an endpoint, you will get the data in comma-separated text format. CSV supports filtering, ordering etc, but it does not support linking related documents.
Instead of deleting records from the database, we mark them as _deleted: true
. In this case, the API will report them deleted if you try to GET them. If you need to see the deleted items, add ?showDeleted=true
to your url. If you want to undelete an item, PUT _deleted: false
to the record.
You can permanently delete a document by passing the parameter ?_permaDelete=1
to the endpoint.
You can delete all of the rows that reference a row you're deleting by adding ?_cascade=1
to your endpoint.
You can combine permanent and cascade deleting.