需要 read_translation 权限点。
更多权限点使用信息,请参考:
GET https://{handle}.myshopline.com/admin/openapi/v20250601/ugc/resource.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handleopen001
查询店铺已存储的UGC语料
查询参数
  • locale string
    业务多语言值
    Example: en
  • market string
    业务市场值
    Example: 2805652120189036673434
  • outdated boolean
    语料是否过时
    Example: true
  • resource_id string required
    业务多语言资源唯一主键
    Example: 1636453548928
  • resource_type string required
    业务多语言资源类型
    Example: PRODUCT
请求头
  • Content-Type required
    字段值固定为application/json; charset=utf-8
  • Authorization string required
    资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入
    Example:
    Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
更多状态码信息请参考 HTTP 状态码

响应头
  • traceId
    traceId
响应体
  • dataobject
    响应结果
  • content_listobject[]
    已保存的翻译语料列表
  • locale string
    业务多语言值
    Example: en
  • market string
    业务市场值
    Example: 2805652120189036673434
  • outdated boolean
    是否过时
  • resource_content string
    资源内容
    Example: 语料标题内容
  • resource_content_type string
    资源对应的字段类型细分
    Example: If resource_content_type returns Html, then the field type breakdown for the resource is in HTML format.
  • resource_field string
    业务多语言资源字段
    Example: title
  • updated_at string
    语料更新时间
    Example: 2023-09-07T15:50:00Z
  • default_content_listobject[]
    默认语料列表
  • resource_content string
    资源内容
    Example: 标题内容
  • resource_content_type string
    资源对应的字段类型细分
    Example: If resource_content_type returns Html, then the field type breakdown for the resource is in HTML format.
  • resource_field string
    业务多语言资源字段
    Example: title
  • resource_id string
    业务多语言资源唯一主键
    Example: 1636453548928
  • resource_type string
    业务多语言资源类型
    Example: PRODUCT
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601

ParamOptions

query required
query required
header required
query
query
query

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601/ugc/resource.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
这篇文章对你有帮助吗?