Remove a community file
Its uploader, the source's owner, or an admin or owner of its community — each only while they can see it. A file the caller cannot see is 404 (the same answer as an unknown id); one they can see but may not remove is 403.
/api/v1/community-attachments/{id}“Try it” is off for this endpoint: it deletes or rewrites data in bulk. Use the code samples instead.
Its uploader, the source's owner, or an admin or owner of its community — each only while they can see it. A file the caller cannot see is 404 (the same answer as an unknown id); one they can see but may not remove is 403.
AuthorizationBearer <token>A personal access token (rsk_…) or a Supabase access token.
id*string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Removed
curl -X DELETE 'https://www.ressource.social/api/v1/community-attachments/string'Remove an attachment and its file DELETE
Owner only: someone else's attachment is 404.
List the community files of a source GET
The files members added to the source in the caller's communities — only communities the caller is a member of, while the source is shared there (its owner included, only while a member). Ordered by community name, then newest first; the same objects as `community_attachments` on `GET /sources/{id}`. `community` (an id or a slug) keeps one community: one the caller is not in, or that does not exist, is an empty list. A source the caller cannot open is 404. Not paginated — bounded per source and community.