跳转到内容

api_packages_retrieve

GET
/api/packages/{id}/
curl --request GET \
--url https://example.com/api/packages/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ \
--header 'Authorization: <Authorization>'

套餐包管理ViewSet - 全局可访问的套餐列表

id
必填
string format: uuid

用于标识此套餐包的 UUID 字符串。

媒体类型application/json
object
id
必填
string format: uuid
name
必填
string
<= 100 characters
description
string
price
必填
string format: decimal
/^-?\d{0,8}(?:\.\d{0,2})?$/
currency
string
<= 3 characters
features
created_at
必填
string format: date-time
updated_at
必填
string format: date-time
示例生成
{
"name": "example",
"description": "example",
"price": "example",
"currency": "example",
"features": "example"
}