Turso Cloud API-Referenz Ressourcen Organisationen
Aktuelles Abonnement
Gibt die aktuellen Abonnementdetails für die Organisation zurück.
GET
https://api.turso.tech/v1/organizations/{organizationSlug}/subscription curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/subscription \
-H 'Authorization: Bearer TOKEN'
OpenAPI
openapi: 3.0.1
info:
title: Turso Platform API
description: API-Beschreibung hier
license:
name: MIT
version: 0.1.0
servers:
- url: https://api.turso.tech
description: Turso's Platform API
security: []
paths:
/v1/organizations/{organizationSlug}/subscription:
get:
summary: Aktuelles Abonnement
description: Gibt die aktuellen Abonnementdetails für die Organisation zurück.
operationId: getOrganizationSubscription
parameters:
- $ref: '#/components/parameters/organizationSlug'
responses:
'200':
description: Erfolgreiche Antwort
content:
application/json:
schema:
type: object
properties:
subscription:
type: object
properties:
name:
type: string
description: Der Name des Tarifs für das aktuelle Abonnement.
example: scaler
overages:
type: boolean
description: Ob Overages für die Organisation aktiviert sind.
plan:
type: string
description: Der Name des Tarifs für das aktuelle Abonnement.
example: scaler
timeline:
type: string
description: Ob der Tarif monatlich oder jährlich abgerechnet wird.
example: monthly
components:
parameters:
organizationSlug:
in: path
name: organizationSlug
required: true
schema:
type: string
description: Der Slug der Organisation oder des Benutzerkontos.
Synchronisiert aus der offiziellen Turso-Dokumentation (
tursodatabase/turso-docs
· MIT-Lizenz)
Offizielle Doku ↗