This documentation and answers will help you get started and master the way you use PageCDN for better content delivery.

Upload a file to repo


This will upload a single file to previously created repo with manual origin.

Form Data Parameters

apikeystringrequiredThe api key to identify originator of the request.
repostringrequiredThe repo where you want to upload file, as files/my-files.
dirstringoptionalIf you want to upload file to a path deep down in the repo, you can specify it. For example, to upload file to /files/my-files/assets/static/css/styles.css then you can specify the path as /assets/static/css.
filefilerequiredThe file to be attached.