Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Add ability to create & update snapshots via REST API #64

Closed
westonruter opened this issue Jul 23, 2016 · 1 comment
Closed

Add ability to create & update snapshots via REST API #64

westonruter opened this issue Jul 23, 2016 · 1 comment

Comments

@westonruter
Copy link
Contributor

To build upon #63.

  • Allow snapshot posts to be created and updated, ensuring that content is in the proper format as an object mapping setting IDs to setting params.
  • Prevent editing of slug, since the UUID should never change.
  • Add support for PATCH updates.
  • Consider using REST API endpoints in Customizer when saving/updating snapshots.
  • (optional) Add endpoints that use UUID instead of post ID. We really don't need regular post IDs since snapshots have UUIDs. Really a random PUT request could be made to create a snapshot if it just supplies a proper UUID.
@westonruter
Copy link
Contributor Author

Deprecated in favor of https://core.trac.wordpress.org/ticket/38900

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant