Get history for a list of Agents
post/bots/history
Get history for a list of Agents.
1{2 "af349db0-0691-4510-bd01-122417810f7b": [3 {4 "version": 1,5 "id": "07c76ed1-2a4a-4282-b129-638cd38f6fe5",6 "status": "completed",7 "createdBy": "sasuser",8 "creationTimeStamp": "2021-09-13T14:17:09.165Z",9 "endTimeStamp": "2021-09-13T14:35:55.756Z",10 "nEnumerated": 281,11 "nExcluded": 0,12 "nAdded": 279,13 "nUpdated": 0,14 "nRemoved": 0,15 "averageRunTime": 1127,16 "parameters": {17 "datasourceURI": "/dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP"18 },19 "jobParameters": {20 "samplePercent": "20"21 },22 "links": [23 {24 "method": "GET",25 "rel": "newAssets",26 "href": "/catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:new",27 "uri": "/catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:new",28 "type": "application/vnd.sas.metadata.search.collection",29 "itemType": "application/vnd.sas.metadata.search.result"30 },31 {32 "method": "GET",33 "rel": "changedAssets",34 "href": "/catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:changed",35 "uri": "/catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:changed",36 "type": "application/vnd.sas.metadata.search.collection",37 "itemType": "application/vnd.sas.metadata.search.result"38 }39 ]40 }41 ],42 "e71351da-8592-4c6e-aeca-405587387ddf": {43 "version": 2,44 "httpStatusCode": 404,45 "message": "Not Found",46 "details": [47 "/catalog/bots/e71351da-8592-4c6e-aeca-405587387ddf"48 ]49 }50}
Name | Type | Required | Description |
---|---|---|---|
limit | integer | false | Maximum number of objects to return. Defaults to 10. |
Name | Type | Required | Description |
---|---|---|---|
Content-Type | string | true | The representation in the request body. Allowed values: application/vnd.sas.selection+jsonapplication/json Default: application/vnd.sas.selection+json |
Accept | string | false | The desired representation for the response. Allowed value: application/json Default: application/json |
Identifies a set of resources.
Name | Type | Required | Description |
---|---|---|---|
version | integer | true | The schema version number of this media type. This representation is version 1. |
template | string | false | A URI template in which the {id} parameter can be replaced with a value from the "resources" array in order to yield the URI of the identified resource. |
type | string | false | Specifies whether the resources array contains IDs, URIs, or both. Allowed values: idurimixed |
resources | array [string] | true | An array of resource IDs or URIs |
links | array [Link] | false | An array of links to related resources and actions. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | Bad request; either the request is not well-formed, or all individual operations failed. In the latter case, the response body is an object containing the errors as described above for a successful request; the response code is 400 if all operation status codes are not the same, or the shared status code if they are the same. | Schema | |
401 | Unauthorized | Not authenticated. | Schema | |
403 | Forbidden | The user does not have permission to complete this request. | Schema | |
404 | Not Found | The specified resource was not found. | Schema | |
406 | Not Acceptable | Not Acceptable. Include an Accept header with a supported value on the request. | Schema | |
415 | Unsupported Media Type | Unsupported Media Type. Include a Content-Type header with a supported value in the request. | Schema |