API referenceSources
Save a source
POST
Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.
header
AuthorizationBearer <token>A personal access token (rsk_…) or a Supabase access token.
application/json- body
name*stringLength
1 <= length <= 2000description?|nullurl*stringcategory?|nullfolder_id?|nullvisibility*stringValue in
"private""public"thumbnail_media_id?|nullhas_oembed?booleanoembed_provider?|nulloembed_author?|nulloembed_html?|nulloembed_data?unknown|nullin_library?booleantags?array<>Items
items <= 50organization_ids?array<>Items
items <= 50enable_warc?boolean|nulloriginal_bookmark_id?stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidThe created source
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidshort_id*stringname*stringurl*stringwarc_status*stringcurl -X POST 'https://www.ressource.social/api/v1/sources' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "url": "string", "visibility": "private"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "short_id": "string", "name": "string", "url": "string", "warc_status": "string"}