跳到主要内容
版本:202201

更新自定义页面

PUT 

/openapi/2022-01/pages/:id

通过自定义页面 ID 更新指定自定义页面的详情。

请求

Path参数

    id string必填

    唯一标识。

请求体

    titlestring

    The title of the page.

    contentstring

    Page content

    urlstring

    The url of the page.

    meta_titlestring

    The SEO title of the page.

    meta_keywordstring

    The SEO keyword of the page.

    meta_descriptionstring

    The SEO description of the page.

    independent_seoboolean

    Decide whether the seo title is edited independently.

响应

200

数据结构
    page object
    idinteger
    默认值: 0
    示例: 15978
    titlestring
    示例: update
    contentstring
    示例:
    statusinteger
    默认值: 0
    示例: 1
    created_atstring
    示例: 1714377411
    updated_atstring
    示例: 1714378399
    urlstring
    示例: /pages/update
    meta_titlestring
    示例: update
    meta_keywordstring
    示例:
    meta_descriptionstring
    示例:
    independent_seoboolean
    默认值: true
    示例: false