Community Files
Create a File Upload
Create a file upload for a community. Community files can be used as a standard CDN and can be used in any object including Badges, Collections, and more.
POST
Create a file upload
Documentation Index
Fetch the complete documentation index at: https://docs.openpage.fun/llms.txt
Use this file to discover all available pages before exploring further.
Uploading Your File to The CDN
Once you’ve created an OpenPage file upload request, you will need to upload the file to make use of it by executing aPOST request to the file upload endpoint with a body containing the upload.body object.
CURL Request Example
Image CDN
Image files can make use of the OpenPage image CDNhttps://img.openpage.fun/{your-file-key}?format={format}&size={size} to auto format and resize as needed.
Below is an example of how to return your image with a max size of 100px and as a png.
https://img.openpage.fun/fake-uuid-1234-5678-9012-3456/testimage1-jpg?format=png&size=100Create a file upload
