Skip to content

Allow HTTP delete of sub resources #193

Closed
@chrismckinnel

Description

At the moment we have to do something like:

PATCH /model/<id> 

"relation": {
    "remove": [
        {
            "parent_id": 1,
            "child_id": 1,
            "__delete__": True
        }
    ]
}

To delete a many to many relation. Perhaps this has changed slightly on the master branch, but I'm still using the latest tagged release.

Wouldn't it make more sense to be able to a simple:

DELETE /model/<id>/relation/<id>

Seems like it would simplify things a bit.

Thoughts?

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions