Skip to content

URL schema - include ids or not? #5

Open
@vsoch

Description

@vsoch

We currently have two patterns of urls - the first does not include any identifier in the URL, e.g.,

`POST /m1/workflow/update/`

But then provides it in the request

{"id": 123...}

The latter has the identifier in the url directly:

`GET /m1/workflow/<workflow id>/`

I typically do the latter, and it looks like most urls are already conforming to this, so it would come down to updating the update endpoint to do the same, e.g,

`POST /m1/workflow/<workflow-id>/update/`

Would this work @fgypas ?

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