新闻客户端api
  1. 2-新闻
新闻客户端api
  • 0-系统
    • 程序升级
      POST
  • 1-用户
    • profile
      POST
    • 注销
      POST
    • 登录
      POST
  • 2-新闻
    • 新闻分类
      GET
    • 新闻推荐
      GET
    • 新闻正文
      GET
    • 新闻翻页列表
      GET
    • 标签列表
      GET
    • 频道分类
      GET
  1. 2-新闻

新闻分类

GET
/categories

请求参数

无

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/categories'

返回响应

🟢200成功
application/json
Body
array of:
code
string 
分类代码
必需
title
enum<string> 
分类名称
必需
枚举值:
LatestWorldBusinessSportsLifeEducation
示例
[
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    },
    {
        "code": "string",
        "title": "Latest"
    }
]
上一页
登录
下一页
新闻推荐
Built with