Skip to content

Update Site list in the editor to use the wpcloud-station/v1/sites endpoint #183

Open
@jhnstn

Description

Currently, the site-list block uses the custom post type endpoint wp/v2/wpcloud_site . Ideally it would use the new endpoint wpcloud-station/v1/sites so we can remove the wp/v2/wpcloud_site routes from the Sites controller.

The site list block is mostly copy/paste from the core post query block. Most of the logic in there should be simplified to make it easier to dispatch the new REST endpoints.

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