伪造检索 (translation/publish) 项目日期
forge retrieve (translation/publish) item date
我想知道是否有 API 检索 (translation/publish) 日期:
通过调用 GET Folder Contents, GET items/:itemId, or GET item/:itemId/versions 获取该项目的最新版本,并找到 attributes.lastModifiedTime
,然后将其从 UTC 时间转换为本地时间。这是一个例子:
"included": [
{
"type": "versions",
"id": "urn:adsk.wipprod:fs.file:vf.hC6k4hndRWaeIVhIjvHu8w?version=2",
"attributes": {
"name": "my_model.rvt",
"displayName": "my_model",
"createTime": "2018-01-17T11:52:34.0000000Z",
"createUserId": "BW9RM76WZBGL",
"createUserName": "John Doe",
"lastModifiedTime": "2018-01-17T11:53:20.0000000Z", //!<<< Here
"lastModifiedUserId": "BW9RM76WZBGL",
"lastModifiedUserName": "John Doe",
"versionNumber": 2,
"mimeType": "application/vnd.autodesk.r360",
"fileType": "rvt",
"extension": {
"type": "versions:autodesk.bim360:C4RModel",
"version": "1.0.0",
"schema": {
"href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:C4RModel-1.0.0"
},
//...
},
//...
],
我想知道是否有 API 检索 (translation/publish) 日期:
通过调用 GET Folder Contents, GET items/:itemId, or GET item/:itemId/versions 获取该项目的最新版本,并找到 attributes.lastModifiedTime
,然后将其从 UTC 时间转换为本地时间。这是一个例子:
"included": [
{
"type": "versions",
"id": "urn:adsk.wipprod:fs.file:vf.hC6k4hndRWaeIVhIjvHu8w?version=2",
"attributes": {
"name": "my_model.rvt",
"displayName": "my_model",
"createTime": "2018-01-17T11:52:34.0000000Z",
"createUserId": "BW9RM76WZBGL",
"createUserName": "John Doe",
"lastModifiedTime": "2018-01-17T11:53:20.0000000Z", //!<<< Here
"lastModifiedUserId": "BW9RM76WZBGL",
"lastModifiedUserName": "John Doe",
"versionNumber": 2,
"mimeType": "application/vnd.autodesk.r360",
"fileType": "rvt",
"extension": {
"type": "versions:autodesk.bim360:C4RModel",
"version": "1.0.0",
"schema": {
"href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:C4RModel-1.0.0"
},
//...
},
//...
],