Difference between revisions of "API: File Uploads"
From Charitylog Manual
m (Msim moved page File Uploads Using The API to API: File Uploads) |
|||
Line 3: | Line 3: | ||
[[File:helpheader_small.png|right]] | [[File:helpheader_small.png|right]] | ||
− | You can upload files against clients and referrals, these | + | You can upload files against clients and referrals. Like the web application, these are stored on Amazon S3. |
− | [POST] https<nowiki/>://api.dizions.co.uk/v2/clients/id/CLIENT_ID/uploads | + | [POST] https<nowiki/>://api.dizions.co.uk/v2/clients/id/CLIENT_ID/uploads |
− | [POST] https<nowiki/>://api.dizions.co.uk/v2/referrals/id/REFERRAL_ID/uploads | + | [POST] https<nowiki/>://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) | 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) | ||
---- | ---- |
Revision as of 15:15, 26 August 2020
You can upload files against clients and referrals. Like the web application, these are stored on 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)