Up - API Reference - Home
Requires JWT.
Get the root of the tree.
POST /api/p/<project gid>/assets/root
Authorization: Bearer <JWT>
{}
No parameters are needed.
Authorization: <JWT>
{
"success": true,
"result": {
"root": "96ec02b2-fb8d-4fb4-b952-fad0c4b88a74"
},
"data": {
"assets": {
"96ec02b2-fb8d-4fb4-b952-fad0c4b88a74": {
…
},
…
}
}
}
root the requested root-asset gid
assets Asset info with hierarchy, type, name.
400 Bad request - missing parameters or wrong type or value
401 Unauthorized - missing or expired JWT
403 Forbidden - not a member of this project
422 Unprocessable entity - asset doesn't exist