Skip to content

[Feature Request] One document Endpoint #1494

@zaterio

Description

@zaterio

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions