操作和管理 Experience Service > 操作 Experience Service > 获取 Experience Service 数据 > 获取发布数据
  
获取发布数据
使用以下 Experience Service 端点检索有关已发布项目的信息:
<es-protocol>://<es-host>:<es-port>/ExperienceService/content/projects
要使请求完成,必须将 Accept 标头设置为 application/json,否则将返回 HTTP 404 响应。
API 返回具有以下字段的 JSON 对象:
publishData: {
projectSize: <number in kb>,
publishedDate: <dateTime format>,
publishedBy: <text>
}
检索的信息包括:
项目文件大小
发布日期
发布项目的用户名
例如:
metadata: {
accessType: "private"
designedfor: ["offline"]
experiences: [{vumark: "106455:9030", experienceType: "vumark", id: 1,…},…]
lastExpId: 2
name: ""
requires: ["holographic"]
version: "1.0.0"
}
publishData: {
projectSize: [3500],
publishedData: [123456789012],
publishedBy: [awilson]
}
name: "100"
url: "https://example-es.st-test.thingworx.io/ExperienceService/content/projects/100/"