开放Api-商品专辑-列表

Api描述:获取博客专辑 列表

URL: /manager/api/apps/openapi/blog-collection/list

格式:json

方式:get

数据请求部分

1.Request Header 参数:

参数名称 是否必须 类型 描述
open-access-token 必须 String 在开放api插件中,创建权限后即可获取该token

2.Request JSON Data(Body):

参数名称 是否必须 类型 描述
pageNum 选填 String 第x页
pageSize 选填 String 每页的个数
title 选填 String 模糊搜索标题
created_at_begin 选填 String 创建时间-开始
created_at_end 选填 String 创建时间-结束


数据返回部分

1.Response JSON Data(Body):

格式:json

参数名称 是否必须 类型 描述
code 必须 Number 200 代表成功
message 必须 String 执行结果的文字描述信息
data 必须 Array api获取的数据保存到data中
data > total 必须 string 列表总数
data > pageSize 必须 string 列表每页个数
data > totalPage 必须 string 列表总页数
data > list 必须 Array 列表信息
data > list > id 必须 int 专辑 id
data > list > handle 必须 string 专辑url 路径
data > list > title 必须 string 专辑标题
data > list > body_html 必须 string 专辑描述
data > list > meta_title 必须 string seo meta title
data > list > meta_keywords 必须 string seo meta keywords
data > list > meta_description 必须 string seo meta description
data > list > created_at 必须 string 创建时间
data > list > updated_at 必须 string 更新时间
data > list > article_count 必须 int 文章个数

Response JSON Data(示例数据):

{
    "code": 200,
    "data": {
        "list": [
            {
                "id": 16,
                "shop_id": 15,
                "handle": "1111",
                "title": "1111",
                "body_html": "<p>2222</p>",
                "meta_title": "1111",
                "meta_keywords": "",
                "meta_description": "2222",
                "updated_at": "2022-10-31 05:29:06",
                "created_at": "2022-09-15 15:17:03",
                "article_count": 2
            },
            {
                "id": 13,
                "shop_id": 15,
                "handle": "2342342334433",
                "title": "2342342334433",
                "body_html": "<p>2342343423423432</p>",
                "meta_title": "2342342334433",
                "meta_keywords": "",
                "meta_description": "2342343423423432",
                "updated_at": "2022-11-10 06:31:36",
                "created_at": "2022-08-13 15:41:39",
                "article_count": 9
            },
            {
                "id": 12,
                "shop_id": 15,
                "handle": "111",
                "title": "111",
                "body_html": "<p>34534534532</p>",
                "meta_title": "111",
                "meta_is_edit": 1,
                "translate_type": 2,
                "meta_keywords": "",
                "meta_description": "34534534532",
                "updated_at": "2022-08-13 15:41:28",
                "created_at": "2022-08-13 15:20:04",
                "remote_id": "",
                "article_count": 7
            },
            {
                "id": 10,
                "shop_id": 15,
                "handle": "shopify-blog111",
                "title": "shopify blog111",
                "body_html": "",
                "meta_title": "shopify blog111",
                "meta_is_edit": 1,
                "translate_type": 3,
                "meta_keywords": "",
                "meta_description": "",
                "updated_at": "2022-09-08 15:13:32",
                "created_at": "2022-07-04 22:09:30",
                "remote_id": "87860314352",
                "article_count": 4
            },
            {
                "id": 9,
                "shop_id": 15,
                "handle": "News12",
                "title": "News12",
                "body_html": "",
                "meta_title": "News12",
                "meta_is_edit": 1,
                "translate_type": 3,
                "meta_keywords": "",
                "meta_description": "",
                "updated_at": "2022-09-08 15:14:29",
                "created_at": "2022-07-04 21:53:53",
                "remote_id": "87802249456",
                "article_count": 0
            },
            {
                "id": 8,
                "shop_id": 15,
                "handle": "ddddfdfd-40809722",
                "title": " title ddddfdfd",
                "body_html": "body_html ddddfdfd",
                "meta_title": "meta_title ddddfdfd",
                "meta_is_edit": 1,
                "translate_type": 1,
                "meta_keywords": "meta_keywords ddddfdfd",
                "meta_description": "meta_descriptionddddfdfd",
                "updated_at": "2022-06-28 12:33:15",
                "created_at": "2022-06-28 12:33:15",
                "remote_id": "",
                "article_count": 4
            },
            {
                "id": 7,
                "shop_id": 15,
                "handle": "ddddfdfd-86496147",
                "title": " title ddddfdfd",
                "body_html": "body_html ddddfdfd",
                "meta_title": "meta_title ddddfdfd",
                "meta_is_edit": 1,
                "translate_type": 1,
                "meta_keywords": "meta_keywords ddddfdfd",
                "meta_description": "meta_descriptionddddfdfd",
                "updated_at": "2022-06-28 12:33:15",
                "created_at": "2022-06-28 12:33:15",
                "remote_id": "",
                "article_count": 1
            },
            {
                "id": 6,
                "shop_id": 15,
                "handle": "ddddfdfd-56050558",
                "title": " title ddddfdfd",
                "body_html": "body_html ddddfdfd",
                "meta_title": "meta_title ddddfdfd",
                "meta_is_edit": 1,
                "translate_type": 1,
                "meta_keywords": "meta_keywords ddddfdfd",
                "meta_description": "meta_descriptionddddfdfd",
                "updated_at": "2022-06-28 12:33:14",
                "created_at": "2022-06-28 12:33:14",
                "remote_id": "",
                "article_count": 2
            },
            {
                "id": 4,
                "shop_id": 15,
                "handle": "ddddfdfd-89936906",
                "title": " title ddddfdfd",
                "body_html": "body_html ddddfdfd",
                "meta_title": "meta_title ddddfdfd",
                "meta_is_edit": 1,
                "translate_type": 1,
                "meta_keywords": "meta_keywords ddddfdfd",
                "meta_description": "meta_descriptionddddfdfd",
                "updated_at": "2022-06-28 12:33:13",
                "created_at": "2022-06-28 12:33:13",
                "remote_id": "",
                "article_count": 0
            }
        ],
        "total": 9,
        "pageSize": 20,
        "totalPage": 1
    },
    "message": "success"
}
Copyright © fecify.com 2022 all right reserved,powered by Gitbook该文件修订时间: 2024-05-01 21:11:35

results matching ""

    No results matching ""