{
    "openapi": "3.0.0",
    "info": {
        "title": "女性新闻 - API文档",
        "version": "1.0.0",
        "description": "新浪女性新闻频道，返回女人、女性相关新闻资讯数据。新闻类接口功能扩展，混合全频道数据使用<a href=\"\/apiview\/87\" target=\"_blank\">综合新闻<\/a>接口、按频道分类输出使用<a href=\"\/apiview\/51\" target=\"_blank\">分类新闻<\/a>接口。本接口仅限用于内部数据分析和机器学习，不得用于终端展示。（MCP 服务由 分类新闻 接口统一提供）"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/woman\/index": {
            "get": {
                "summary": "查询新闻列表",
                "tags": [
                    "女性新闻"
                ],
                "description": "默认返回10条最新资讯支持翻页和关键词搜索",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    },
                    {
                        "name": "num",
                        "in": "query",
                        "description": "返回数量1-50，默认10",
                        "required": true,
                        "schema": {
                            "type": "int",
                            "example": 10,
                            "description": "返回数量1-50，默认10"
                        }
                    },
                    {
                        "name": "form",
                        "in": "query",
                        "description": "兼容历史问题，建议传1",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 0,
                            "description": "兼容历史问题，建议传1"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "翻页",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "翻页"
                        }
                    },
                    {
                        "name": "rand",
                        "in": "query",
                        "description": "随机获取",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "随机获取"
                        }
                    },
                    {
                        "name": "word",
                        "in": "query",
                        "description": "检索关键词",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "example": "天行数据",
                            "description": "检索关键词"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "62ac899e8fcf654a74479b4239b4651f",
                                            "description": "新闻唯一ID"
                                        },
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/article\/154",
                                            "description": "文章地址"
                                        },
                                        "ctime": {
                                            "type": "Date",
                                            "example": "2015-07-17",
                                            "description": "发布时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "文章的标题",
                                            "description": "文章标题"
                                        },
                                        "allnum": {
                                            "type": "int",
                                            "example": 625,
                                            "description": "结果数"
                                        },
                                        "picUrl": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/static\/img\/logo.png",
                                            "description": "封面图片"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "文章来源",
                                            "description": "文章来源"
                                        },
                                        "curpage": {
                                            "type": "int",
                                            "example": 1,
                                            "description": "当前页"
                                        },
                                        "description": {
                                            "type": "string",
                                            "example": "文章的描述",
                                            "description": "文章描述"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "id": "ae944ddc51460124d33d86a95fa8670a",
                                                "url": "http:\/\/k.sina.com.cn\/article_6420804626_17eb5b41202000t4ki.html",
                                                "ctime": "2021-02-04 18:24",
                                                "title": "有儿子的女性注意：别做两种妈妈，容易毁掉孩子",
                                                "picUrl": "http:\/\/n.sinaimg.cn\/sinakd20210204s\/274\/w703h371\/20210204\/878d-kirmait9324369.jpg",
                                                "source": "女性新闻",
                                                "description": "文|幸孕姐（高级母婴护理师，原创不易，请勿抄袭）父亲和母亲都是孩子人生中最重要的人，相比于父亲，母亲陪伴孩子的时间更长，特别是我国男主外女主内的家庭模式，以..."
                                            },
                                            {
                                                "id": "c624a3479d042c56e46ac38dda0c88dc",
                                                "url": "http:\/\/k.sina.com.cn\/article_2011075080_77de920802000x2bd.html",
                                                "ctime": "2021-02-04 17:02",
                                                "title": "抱怨女性话多，森喜朗歧视言论“惊动”菅义伟",
                                                "picUrl": "http:\/\/n.sinaimg.cn\/sinakd202124s\/125\/w573h352\/20210204\/5b2e-kirmait9019584.png",
                                                "source": "女性新闻",
                                                "description": "日本共同社消息，日本首相菅义伟4日出席国会众议院预算委员会会议，就在野党议员介绍的东京奥组委主席森喜朗蔑视女性言论称其“不该发生”。而对于要求森喜朗辞职的声音..."
                                            },
                                            {
                                                "id": "76703032d6944408d5bddc24db4c716c",
                                                "url": "http:\/\/k.sina.com.cn\/article_6538463639_v185b9099700100mt8a.html",
                                                "ctime": "2021-02-04 17:03",
                                                "title": "看完当地女性的私生活，庆幸生在中国！",
                                                "picUrl": "http:\/\/n.sinaimg.cn\/sinakd20210204ac\/40\/w480h360\/20210204\/208e-kirmait8989383.jpg",
                                                "source": "女性新闻",
                                                "description": "..."
                                            }
                                        ],
                                        "allnum": 500,
                                        "curpage": 1
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "查询新闻列表",
                "tags": [
                    "女性新闻"
                ],
                "description": "默认返回10条最新资讯支持翻页和关键词搜索",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "num": {
                                        "type": "int",
                                        "example": 10,
                                        "description": "返回数量1-50，默认10"
                                    },
                                    "form": {
                                        "type": "int",
                                        "example": 0,
                                        "description": "兼容历史问题，建议传1"
                                    },
                                    "page": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "翻页"
                                    },
                                    "rand": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "随机获取"
                                    },
                                    "word": {
                                        "type": "string",
                                        "example": "天行数据",
                                        "description": "检索关键词"
                                    }
                                },
                                "required": [
                                    "key",
                                    "num"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "62ac899e8fcf654a74479b4239b4651f",
                                            "description": "新闻唯一ID"
                                        },
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/article\/154",
                                            "description": "文章地址"
                                        },
                                        "ctime": {
                                            "type": "Date",
                                            "example": "2015-07-17",
                                            "description": "发布时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "文章的标题",
                                            "description": "文章标题"
                                        },
                                        "allnum": {
                                            "type": "int",
                                            "example": 625,
                                            "description": "结果数"
                                        },
                                        "picUrl": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/static\/img\/logo.png",
                                            "description": "封面图片"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "文章来源",
                                            "description": "文章来源"
                                        },
                                        "curpage": {
                                            "type": "int",
                                            "example": 1,
                                            "description": "当前页"
                                        },
                                        "description": {
                                            "type": "string",
                                            "example": "文章的描述",
                                            "description": "文章描述"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "id": "ae944ddc51460124d33d86a95fa8670a",
                                                "url": "http:\/\/k.sina.com.cn\/article_6420804626_17eb5b41202000t4ki.html",
                                                "ctime": "2021-02-04 18:24",
                                                "title": "有儿子的女性注意：别做两种妈妈，容易毁掉孩子",
                                                "picUrl": "http:\/\/n.sinaimg.cn\/sinakd20210204s\/274\/w703h371\/20210204\/878d-kirmait9324369.jpg",
                                                "source": "女性新闻",
                                                "description": "文|幸孕姐（高级母婴护理师，原创不易，请勿抄袭）父亲和母亲都是孩子人生中最重要的人，相比于父亲，母亲陪伴孩子的时间更长，特别是我国男主外女主内的家庭模式，以..."
                                            },
                                            {
                                                "id": "c624a3479d042c56e46ac38dda0c88dc",
                                                "url": "http:\/\/k.sina.com.cn\/article_2011075080_77de920802000x2bd.html",
                                                "ctime": "2021-02-04 17:02",
                                                "title": "抱怨女性话多，森喜朗歧视言论“惊动”菅义伟",
                                                "picUrl": "http:\/\/n.sinaimg.cn\/sinakd202124s\/125\/w573h352\/20210204\/5b2e-kirmait9019584.png",
                                                "source": "女性新闻",
                                                "description": "日本共同社消息，日本首相菅义伟4日出席国会众议院预算委员会会议，就在野党议员介绍的东京奥组委主席森喜朗蔑视女性言论称其“不该发生”。而对于要求森喜朗辞职的声音..."
                                            },
                                            {
                                                "id": "76703032d6944408d5bddc24db4c716c",
                                                "url": "http:\/\/k.sina.com.cn\/article_6538463639_v185b9099700100mt8a.html",
                                                "ctime": "2021-02-04 17:03",
                                                "title": "看完当地女性的私生活，庆幸生在中国！",
                                                "picUrl": "http:\/\/n.sinaimg.cn\/sinakd20210204ac\/40\/w480h360\/20210204\/208e-kirmait8989383.jpg",
                                                "source": "女性新闻",
                                                "description": "..."
                                            }
                                        ],
                                        "allnum": 500,
                                        "curpage": 1
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}