Skip to content

/widgets/:id or /widgets/:id_base? #4

@NateWr

Description

@NateWr

The get_widget_endpoint branch implements (mostly) the base /widgets endpoint.

I was surprised to see the next route was /widgets/:id_base. I would expect that the endpoint would work like posts, where you retrieved a specific widget with /widgets/:id. Wouldn't that make more sense? We could implement id_base as a filter on the /widgets base just like sidebar.

(I appreciate that I wrote the initial endpoint registration. Just want to double-check that there wasn't some decisions about /widgets/:id_base that I can't remember).

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