ressource.socialbetadocumentation
API referenceSources

Save a URL and let the server resolve its metadata

Re-saving a URL already in the library is a success with `isExisting: true`, not a conflict.

POST
/api/v1/sources/quick

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

Re-saving a URL already in the library is a success with isExisting: true, not a conflict.

Authorization

headerAuthorizationBearer <token>

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

Request Body

application/json
  1. body
url*string
Length1 <= length
title?string
Lengthlength <= 2000
hints?unknown

Response Body

Already saved

application/json
  1. response
isExisting*boolean
source*
curl -X POST 'https://www.ressource.social/api/v1/sources/quick' \  -H 'Content-Type: application/json' \  -d '{  "url": "string"}'
{  "isExisting": true,  "source": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "short_id": "string",    "name": "string",    "url": "string",    "visibility": "public",    "in_library": true,    "created_at": "string"  }}