(folderId int, bucketId int, path string)
| 576 | } |
| 577 | |
| 578 | func (c OrchestratorClient) createWriteUrlRequest(folderId int, bucketId int, path string) *network.HttpRequest { |
| 579 | uri := c.newUriBuilder("/odata/Buckets({bucketId})/UiPath.Server.Configuration.OData.GetWriteUri"). |
| 580 | FormatPath("bucketId", bucketId). |
| 581 | AddQueryString("path", path). |
| 582 | Build() |
| 583 | header := http.Header{ |
| 584 | "X-UiPath-OrganizationUnitId": {strconv.Itoa(folderId)}, |
| 585 | } |
| 586 | return network.NewHttpGetRequest(uri, c.toAuthorization(c.token), header) |
| 587 | } |
| 588 | |
| 589 | func (c OrchestratorClient) convertToRobotLogs(json getRobotLogsResponseJson) []RobotLog { |
| 590 | logs := []RobotLog{} |
no test coverage detected