SDK icon indicating copy to clipboard operation
SDK copied to clipboard

Added an option to skip response formatting in Content/Admin API SDKs

Open phawazzzy opened this issue 4 years ago • 1 comments

closes #73

  • Added formatResponse option to the parameter that would be passed in the GhostAdminApi/GhostContentAPi -the formatResponse is default to true when not specified by consumer

This how it would look like const api = new GhostContentAPI({ url: 'YOUR URL', key: 'YOUR KEY', version: "VERSION", formatResponse: true/false })

  • [x ] There's a clear use-case for this code change
  • [ x] Commit message has a short title & references relevant issues
  • [ x] The build will pass (run yarn test and yarn lint)

phawazzzy avatar May 08 '20 21:05 phawazzzy

This presents an option to skip formatting the returned response from the api

Robogeek95 avatar May 13 '20 12:05 Robogeek95