How do I proxy API calls?

The /proxy path makes it possible for your authenticated UI users to access API resources.

A URL into the API typically looks something like this:

https://api.cloudcms.com/repositories/f0fb4efd3de07c54420a/branches/9bcdbfea8f2d900f0387/nodes/<nodeId>/attachments/thumb.jpg

To invoke this URL, you need to be authenticated to the api.cloudcms.com endpoint.

Users who are authenticated to the UI may opt to use the /proxy path to proxy their requests through the UI server and to the API. The proxied call is then executed against the API as though it were being invoked directly.

Thus, a user can invoke their method calls (GET, PUT, POST, etc) against a URL that looks something like this:

https://mycustomer.cloudcms.net/proxy/repositories/f0fb4efd3de07c54420a/branches/9bcdbfea8f2d900f0387/nodes/<nodeId>/attachments/thumb.jpg