Difference between revisions of "API: File Uploads"

From Charitylog Manual
Jump to: navigation, search
Line 1: Line 1:
 +
[[API Details| Go to API overview]]
 +
 
[[File:helpheader_small.png|right]]
 
[[File:helpheader_small.png|right]]
  

Revision as of 10:34, 29 April 2020

Go to API overview

Helpheader small.png

You can upload files against clients and referrals, these can only be uploaded to Amazon S3.

[POST] https://api.dizions.co.uk/v2/clients/id/CLIENT_ID/uploads

[POST] https://api.dizions.co.uk/v2/referrals/id/REFERRAL_ID/uploads

In the body you'll need the files along with user_visibility and group_visibility settings which are IDs (comma separated if there's more than one)