- 欢迎使用
- AJAX 阶段
- 黑马头条_数据管理平台
获取-所有频道
GET
/v1_0/channels
极客园_PC/其他接口
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1_0/channels'
返回响应
🟢200成功
application/json
Body
data
object
响应数据
channels
array [object {2}]
频道数据
message
string
响应消息
示例
{
"data": {
"channels": [
{
"id": 0,
"name": "推荐"
},
{
"id": 1,
"name": "html"
},
{
"id": 2,
"name": "开发者资讯"
},
{
"id": 4,
"name": "c++"
},
{
"id": 6,
"name": "css"
},
{
"id": 7,
"name": "数据库"
},
{
"id": 8,
"name": "区块链"
},
{
"id": 9,
"name": "go"
},
{
"id": 10,
"name": "产品"
},
{
"id": 11,
"name": "后端"
},
{
"id": 12,
"name": "linux"
},
{
"id": 13,
"name": "人工智能"
},
{
"id": 14,
"name": "php"
},
{
"id": 15,
"name": "javascript"
},
{
"id": 16,
"name": "架构"
},
{
"id": 17,
"name": "前端"
},
{
"id": 18,
"name": "python"
},
{
"id": 19,
"name": "java"
},
{
"id": 20,
"name": "算法"
},
{
"id": 21,
"name": "面试"
},
{
"id": 22,
"name": "科技动态"
},
{
"id": 23,
"name": "js"
},
{
"id": 24,
"name": "设计"
},
{
"id": 25,
"name": "数码产品"
},
{
"id": 26,
"name": "软件测试"
}
]
},
"message": "OK"
}
修改于 2023-04-07 08:20:07