I decided to play around with the API after realizing it could accomplish things not yet supported by Fibery in the UI yet, and could even build a tool specific to my org to make it more useful.
My use case was to build a chrome extension to support quickly adding web references to Type within fibery as a starting point. This would give us some web-clipper type functionality. I have a proof of concept chrome extension setup with a settings area to input your token and fibery domain.
It is using a modified version of the unofficial js library, which I modified to utilize Axios (existing dependency is no longer supported). I’ll submit a merge request for this once I get it cleaned up a bit and working with file downloads/uploads.
Unfortunately, the last snag I have is that cross origin requests are being blocked.
Access to XMLHttpRequest at 'https://<domain>.fibery.io/api/commands' from origin 'chrome-extension://fodeaclafgkhegpjlghocggimclocibh' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I’d appreciate it if this could be enabled, and I’m sure other would as well, since this could be shared with the community. Otherwise, I’ll have to host my own proxy server to proxy the requests.