Anmelden

JDS REST API

API-Keys unter Developer Settings verwalten.

Authentication

Header: Authorization: Bearer jds_YOUR_KEY

GET
/api/v1/search/

Suche im Index

GET
/api/v1/search/stats/

Such-Statistiken

GET
/api/v1/mail/inbox/

Posteingang (Auth)

POST
/api/v1/mail/send/

E-Mail senden (Auth)

GET
/api/v1/calendar/events/

Termine (Auth)

GET
/api/v1/marketplace/products/

Produkte

GET
/api/v1/user/profile/

User-Profil (Auth)

JDS Cloud – Datei-Upload

Lade Dateien per API hoch – kompatibel mit curl, Python, JavaScript.

Endpoint
POST https://ppkinjwiewiynqgofdcz.supabase.co/functions/v1/upload

curl

curl -X POST \
  "https://ppkinjwiewiynqgofdcz.supabase.co/functions/v1/upload" \
  -H "Authorization: Bearer YOUR_JDS_KEY" \
  -F "file=@./meine-datei.pdf"

Python

import requests
r = requests.post(
    "https://ppkinjwiewiynqgofdcz.supabase.co/functions/v1/upload",
    headers={"Authorization": "Bearer YOUR_JDS_KEY"},
    files={"file": open("datei.pdf", "rb")}
)
data = r.json()
print(data["file"]["view_url"])

Antwort

{
  "success": true,
  "file": {
    "name": "datei.pdf",
    "size": 1234567,
    "view_url": "https://.../file-access?token=...",
    "download_url": "https://.../file-access?token=..."
  }
}