获取公开组织列表
开发中
GET
/groups
请求参数
Header 参数
User-Agent
string
可选
示例值:
{{User-Agent}}
X-Auth-Token
string
可选
示例值:
{{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.yuque.com/api/v2/groups'
返回响应
🟢200成功
application/json
Body
data
array [object {15}]
必需
id
integer
必需
login
string
必需
name
string
必需
avatar_url
string
必需
books_count
integer
必需
public_books_count
integer
必需
topics_count
integer
必需
public_topics_count
integer
必需
members_count
integer
必需
type
string
必需
public
integer
必需
description
string
必需
created_at
string
必需
updated_at
string
必需
_serializer
string
必需
示例
{
"data": [
{
"id": 0,
"login": "string",
"name": "string",
"avatar_url": "string",
"books_count": 0,
"public_books_count": 0,
"topics_count": 0,
"public_topics_count": 0,
"members_count": 0,
"type": "string",
"public": 0,
"description": "string",
"created_at": "string",
"updated_at": "string",
"_serializer": "string"
}
]
}
修改于 2022-03-18 13:58:51