Turso Cloud API 參考 介面資源 資料庫群組
取得群組設定
取得屬於組織或使用者的個別群組設定。
GET
https://api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/configuration curl -L -X GET 'https://api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/configuration' \
-H 'Authorization: Bearer TOKEN'
OpenAPI
openapi: 3.0.1
info:
title: Turso Platform API
description: API description here
license:
name: MIT
version: 0.1.0
servers:
- url: https://api.turso.tech
description: Turso's Platform API
security: []
paths:
/v1/organizations/{organizationSlug}/groups/{groupName}/configuration:
get:
summary: Retrieve Group Configuration
description: >-
Retrieve an individual group configuration belonging to the organization
or user.
operationId: getGroupConfiguration
parameters:
- $ref: '#/components/parameters/organizationSlug'
- $ref: '#/components/parameters/groupName'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/GroupConfigurationResponse'
components:
parameters:
organizationSlug:
in: path
name: organizationSlug
required: true
schema:
type: string
description: The slug of the organization or user account.
groupName:
name: groupName
in: path
required: true
schema:
type: string
description: The name of the group.
schemas:
GroupConfigurationResponse:
type: object
properties:
delete_protection:
type: boolean
description: Prevent the group from being deleted.
example: true
同步自官方 Turso 文件倉庫 (
tursodatabase/turso-docs
· MIT 開源授權)
檢視官方原文 ↗