Automation Anywhere ドキュメントを読んで確認する

Automation 360

コンテンツを閉じる

コンテンツ

コンテンツを開く

Get Immediate Parents API

  • 更新済み: 2021/08/12
    • Automation 360 v.x
    • 調査
    • Enterprise
    • API ドキュメント

Get Immediate Parents API

Use this API to get the immediate parents of a Task Bot. The Get Immediate Parents API gets a fileId as input and lists the immediate parent details.

Request

GET http://{{localhost}}/v2/repository/files/{aafileid}/parents
Header: X-Authorization <<authentication token>>
All API calls must contain an authentication token in the request header. Generate a token with the ユーザー名とパスワード API での認証.

Request Parameters

Parameter Type Required Description
aafileid Integer Yes File id for which you want to view the parents.
GET http://{{localhost}}/v2/repository/files/698/parents

Response

{
   "dependencies":[
      {
         "id":"349",
         "name":"Parent",
         "path":"Automation Anywhere\\Bots\\demo_test\\Parent",
         "size":"1536",
         "type":"application/vnd.aa.taskbot",
         "dependencyType":"SCANNED",
         "url":"",
         "requiredByFileId":"349",
         "version":"0",
         "lockedBy":"0",
         "botStatus":"PUBLIC",
         "permission":{
            "delete":true,
            "download":true,
            "upload":true,
            "run":true,
            "publishBotstore":false,
            "viewContent":true,
            "clone":true,
            "editContent":false,
            "createFolder":false,
            "move":false,
            "cancelCheckout":false,
            "revertCheckout":false,
            "viewHistory":false,
            "labelBots":false
         },
         "versionNumber":"0",
         "label":""
      }
   ]
}

Response Parameters

Parameter Type Description
id Integer File Id of the parent.
name String Name of the parent.
path String Path of the parent file.
size Integer Size of the parent file.
type String Type of the parent.
dependencyType String Dependency Type of the parent.
  • NONE:
  • SCANNED:
url String
requiredByFileId Integer
version Integer Version of the parent file
lockedBy Integer
botStatus String bot status.
permission Object Lists all the permissions of the parent.
フィードバックを送る