Skip to content

Instantly share code, notes, and snippets.

@takkaria
Last active November 25, 2019 16:21
Show Gist options
  • Save takkaria/00f4ec6afc73e2cb2e95aa2065d20b59 to your computer and use it in GitHub Desktop.
Save takkaria/00f4ec6afc73e2cb2e95aa2065d20b59 to your computer and use it in GitHub Desktop.
@takkaria
Copy link
Author

Great, I've taken on everything you suggested! That's really useful, thanks.

I've changed the 'set featured image' functionality to be a separate endpoint - does it look better to you? I was umming and ahhing about this for a while on Friday. I thought it was more RESTful to have the featured image be PATCHable, but I think it would be messy to implement it with the flatter image data structure (which I agree does make more sense!)

@fawkesley
Copy link

Yeah that new endpoint for changing the featured image looks ideal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment