ressource.socialbetadocumentation
API referenceSources

One source, by UUID or short id

GET
/api/v1/sources/{id}

Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.

Authorization

headerAuthorizationBearer <token>

A personal access token (rsk_…) or a Supabase access token.

Path Parameters

id*string
Length1 <= length

Query Parameters

community?string

Response Body

The source

application/json
  1. response
community_attachments*array<>

Community files the caller may see, ordered by community name, then newest first

[key: string]?unknown
curl -X GET 'https://www.ressource.social/api/v1/sources/string'
{  "community_attachments": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "bookmark_id": "49a78d35-bc45-4a39-a336-d00349864577",      "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",      "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28",      "media_id": "59458438-e712-4754-944d-fc838e1a631d",      "description": "string",      "created_at": "string",      "media": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "original_filename": "string",        "file_size": -9007199254740991,        "mime_type": "string",        "storage_path": "string",        "bucket_name": "string"      },      "user": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "username": "string",        "avatar_url": "string"      },      "user_masked": true,      "organization": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string",        "slug": "string"      },      "viewer_can_delete": true    }  ],  "property1": null,  "property2": null}