Hello,
I am using the Orchestrator API on our Cloud instance to push up a package. The issue is it only goes to the default tenant packages and I cannot associate the package with processes on my folders.
I am making an API call in Python using the following example code
upload_url = “https://cloud.uipath.com///orchestrator_/odata/Processes/UiPath.Server.Configuration.OData.UploadPackage()”
files = [
(‘’,(‘BPNAutomation.2.1.1.nupkg’,open(‘C:/GitLab-Runner/builds/BPNAutomation.2.1.1.nupkg’,‘rb’),‘application/octet-stream’))
]
headers = {
“Authorization”: f"Bearer {auth_token}",
“X-UiPath-OrganizationUnitId”: folder_id
}
response = requests.post(upload_url,headers=headers,files=files)
Is there a way to associate the upload with a process id or folder?