Difference between revisions of "API: File Uploads"
From Charitylog Manual
Line 5: | Line 5: | ||
You can upload files against clients and referrals, these can only be uploaded to Amazon S3. | 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<nowiki/>://api.dizions.co.uk/v2/clients/id/CLIENT_ID/uploads |
− | [POST] https://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 13:04, 13 May 2020
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)