ressource.socialbetadocumentation
API referenceSources

Has the caller already saved this URL?

Matched on normalized form, so tracking parameters, a trailing slash, `www.` and http-vs-https all resolve to the same source.

GET
/api/v1/sources/check

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

Matched on normalized form, so tracking parameters, a trailing slash, www. and http-vs-https all resolve to the same source.

Authorization

headerAuthorizationBearer <token>

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

Query Parameters

url*string
Length1 <= length

Response Body

Whether it is saved, and which source it is

application/json
  1. response
exists*boolean
source*|null
curl -X GET 'https://www.ressource.social/api/v1/sources/check?url=string'
{  "exists": true,  "source": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "short_id": "string",    "name": "string",    "url": "string"  }}