开放Api-自定义页面-列表

Api描述:获取 自定义页面列表

URL: /manager/api/apps/openapi/page/list

格式:json

方式:get

数据请求部分

1.Request Header 参数:

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

2.Request JSON Data(Body):

参数名称 是否必须 类型 描述
pageNum 选填 String 第x页
pageSize 选填 String 每页的个数
title 选填 String page title模糊搜索
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 > shop_id 必须 int 店铺 id
data > list > handle 选填 string url handle
data > list > title 选填 string page标题
data > list > body_html 选填 string page内容描述
data > list > meta_title 选填 string meta title
data > list > meta_keywords 选填 string meta keywords
data > list > meta_description 选填 string meta description
data > list > created_at 必须 string 创建时间
data > list > updated_at 必须 string 更新时间

Response JSON Data(示例数据):

{
    "code": 200,
    "data": {
        "list": [
            {
                "id": 12,
                "shop_id": 15,
                "handle": "shopifypage",
                "title": "shopify page",
                "body_html": "444444444444444444444444444444444444444444444444",
                "meta_title": "shopify page",
                "meta_keywords": "",
                "meta_description": "",
                "created_at": "2022-07-05 15:27:04",
                "updated_at": "2022-07-08 14:33:35"
            },
            {
                "id": 11,
                "shop_id": 15,
                "handle": "contact",
                "title": "Contact",
                "body_html": "",
                "meta_title": "Contact",
                "meta_keywords": "",
                "meta_description": ""
                "created_at": "2022-07-05 15:27:02",
                "updated_at": "2022-07-08 14:33:32"
            },
            {
                "id": 10,
                "shop_id": 15,
                "handle": "111fadvcdsacs-64766115",
                "title": "111fdas",
                "body_html": "222455",
                "meta_title": "2222233",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "created_at": "2022-06-26 15:42:33",
                "updated_at": "2022-06-26 15:42:33"
            },
            {
                "id": 9,
                "shop_id": 15,
                "handle": "111fadvcdsacs-38099970",
                "title": "111fdas",
                "body_html": "222455",
                "meta_title": "2222233",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "created_at": "2022-06-26 15:42:32",
                "updated_at": "2022-06-26 15:42:32"
            },
            {
                "id": 8,
                "shop_id": 15,
                "handle": "111fadvcdsacs",
                "title": "111fdas",
                "body_html": "222455",
                "meta_title": "2222233",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "meta_is_edit": 2,
                "translate_type": 1,
                "created_at": "2022-06-26 15:42:32",
                "updated_at": "2022-06-26 15:42:32",
                "remote_id": ""
            },
            {
                "id": 7,
                "shop_id": 15,
                "handle": "111-78764130",
                "title": "111",
                "body_html": "222",
                "meta_title": "22222",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "meta_is_edit": 2,
                "translate_type": 1,
                "created_at": "2022-06-26 15:42:22",
                "updated_at": "2022-06-26 15:42:22",
                "remote_id": ""
            },
            {
                "id": 5,
                "shop_id": 15,
                "handle": "111-51853527",
                "title": "111",
                "body_html": "222",
                "meta_title": "22222",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "meta_is_edit": 2,
                "translate_type": 1,
                "created_at": "2022-06-26 15:42:20",
                "updated_at": "2022-06-26 15:42:20",
                "remote_id": ""
            },
            {
                "id": 3,
                "shop_id": 15,
                "handle": "111-85053616",
                "title": "111",
                "body_html": "222",
                "meta_title": "22222",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "meta_is_edit": 2,
                "translate_type": 1,
                "created_at": "2022-06-26 15:42:19",
                "updated_at": "2022-06-26 15:42:19",
                "remote_id": ""
            },
            {
                "id": 2,
                "shop_id": 15,
                "handle": "111-56293266",
                "title": "111",
                "body_html": "222",
                "meta_title": "22222",
                "meta_keywords": "2222",
                "meta_description": "222222",
                "meta_is_edit": 2,
                "translate_type": 1,
                "created_at": "2022-06-26 15:42:18",
                "updated_at": "2022-06-26 15:42:18",
                "remote_id": ""
            }
        ],
        "total": 9,
        "pageSize": 20,
        "totalPage": 1
    },
    "message": "success"
}
Copyright © fecify.com 2022 all right reserved,powered by Gitbook该文件修订时间: 2024-09-06 10:59:36

results matching ""

    No results matching ""