You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our @tryghost/admin-api package we only expose direct methods for calling specific endpoints. The auth, url building, data processing, etc aspects all exist but are hidden as internal implementation details.
We'd like to expose as many primitives as possible for SDK users to build their own implementations around in case the provided all-in-one wrapper is insufficient.
The first real-world use-case that's been identified is when using the package inside of Zapier. Zapier provides its own request library which comes with benefits like logging of all requests for easier external debugging.
TODO:
expose internals as separately usable APIs
authentication
url generation
data processing
allow the networking side of the all-in-one wrapper be overridden/injected
The text was updated successfully, but these errors were encountered:
I've run into this bug in axios when using GhostAdminAPI inside our Zapier app axios/axios#1625. Unfortunately the fix has only been released in a beta that is currently failing tests so it's not something we can upgrade to fix but it does add some more urgency to allowing the request method to over overridden/injected.
In our
@tryghost/admin-api
package we only expose direct methods for calling specific endpoints. The auth, url building, data processing, etc aspects all exist but are hidden as internal implementation details.We'd like to expose as many primitives as possible for SDK users to build their own implementations around in case the provided all-in-one wrapper is insufficient.
The first real-world use-case that's been identified is when using the package inside of Zapier. Zapier provides its own request library which comes with benefits like logging of all requests for easier external debugging.
TODO:
The text was updated successfully, but these errors were encountered: