#1494·eve

[Feature Request] One document Endpoint

Author: zaterioCreated Dec 14, 2022Updated Dec 17, 2022

Hi @nicolaiarocci,

Too many times I have needed an endpoint to be used as a configuration point for other applications, for example:

schema_transcoding_config = { 'encoding_enabled': {'type': 'boolean', 'default': True}, 'threads': {'type': 'int', 'default': 1}, }

endpoint only needs one item, and old ones are deleted periodically.

I suggest the following new feature: At the endpoint level, a new setting "one_document_endpoint" (for example): An endpoint configured with "one_document_endpoint", must ensure that only one document is kept, in case of Create/Update Document, old documents must be deleted. DELETE operations on Collection/Document not allowed, Bulk operation not allowed.

Please consider whether this feature is appropriate. I am a volunteer for its implementation.

Thanks!