获取文件夹信息
GET
https://open.teambition.com/api/folder/info
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.teambition.com/api/folder/info?folderId' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization'
响应示例响应示例
{
"code": 200,
"errorMessage": "",
"result": {
"color": "blue",
"created": "2020-04-20T06:19:08.416Z",
"creatorId": "5ac4a9089f8f22000108241b",
"description": "",
"folderId": "5e9d3edce5c4d30869787b14",
"isConfigurable": 1,
"parentId": "5e9d3edce5c4d30869787b0f",
"projectId": "5e9d3edce5c4d30869787b0e",
"title": "视频",
"updated": "2020-04-20T06:19:08.416Z",
"visible": "projectMembers"
}
}
请求参数
Query 参数
folderId
string
目录 id
Header 参数
Content-Type
string
可选
示例值:
application/json
Authorization
string
可选
默认值:
{{Authorization}}
X-Tenant-Id
string
企业 ID
默认值:
{{X-Tenant-Id}}
X-Tenant-Type
string
可选
默认值:
organization
返回响应
修改于 2021-12-28 10:45:51