查询博客文章详情
GET https://{handle}.myshopline.com/admin/openapi/v20250601/store/blogs/:blog_collection_id/articles/:blog_id.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。查询博客详情(返回自定义路由)
路径参数
- blog_collection_id string required博客集合的idExample:
"64e313c4cd5956279e61d150"
- blog_id string required博客的idExample:
"66718d010588d64ef7d15c96"
请求头
- Content-Type required字段值固定为
application/json; charset=utf-8
- Authorization string required资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
- 200
- 401
- 429
更多状态码信息请参考 HTTP 状态码
响应头
traceId
traceId
响应体
blogobject
博客信息author string博客的作者Example:"Alvin"
blog_collection_id string博客集合的idExample:"64e313c4cd5956279e61d150"
content_html string博客正文的文本,带有 HTML 标记Example:"content of the blog"
created_at string创建时间 ISO 8601Example:"2024-06-18T13:34:57+00:00"
custom_urlobject
店面上产品的自定义URLis_customized string是否自定义Example:true
url string店面上的产品URL,大于等于0个字符,小于等于512个字符Example:"/custom-url"
digest string博客的摘要Example:"28086digest"
handle string博客的handleExample:"update-handle"
id string博客的idExample:"66718d010588d64ef7d15c96"
imageobject
博客的封面信息alt string图片altExample:"21933Alt"
src string图片链接Example:"https://img-preview-va.myshopline.com/image/store/3400001642/1624538086300/30e35c9beb4e4be5b3ef336954dcdc14.jpg?w=626&h=417"
published_at string发布时间 ISO 8601Example:"2024-06-25T11:15:47+08:00"
template_name string关联的模板名称Example:"templates/blogs/detail.a2c29192484301fa.json"
title string博客标题Example:"70626title"
updated_at string更新时间 ISO 8601Example:"2024-06-25T11:15:47+08:00"
user_id string操作人的idExample:"3400001642"
API Explorer
调试台
这篇文章对你有帮助吗?
Error loading component.