Get a list of external artifacts for a decision
get/flows/{decisionId}/externalArtifacts
Returns the list of external artifacts used by a decision revision. Objects used by a step of the steps collection in a decision flow are considered external artifacts. Some examples of such objects are files and web services. This endpoint returns the collection of external artifacts. The collection might be empty if there is no external artifact used by any step of the decision. The expected number of external artifacts is small. Therefore, this endpoint does not support any paging, filtering, or sorting of parameters.
1{2 "links": [3 {4 "method": "GET",5 "rel": "collection",6 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/externalArtifacts",7 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/externalArtifacts",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.decision.external.artifact"10 },11 {12 "method": "GET",13 "rel": "self",14 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/externalArtifacts",15 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/externalArtifacts",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.decision.external.artifact"18 },19 {20 "method": "GET",21 "rel": "up",22 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/",23 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/",24 "type": "application/vnd.sas.decision"25 }26 ],27 "name": "external-artifacts",28 "accept": "application/vnd.sas.decision.external.artifact",29 "count": 0,30 "items": [],31 "version": 232}
Name | Type | Required | Description |
---|---|---|---|
decisionId | string | true | The identifier for the decision. Examples: "094078e7-278a-4719-a704-6e5e65af29ee" |
Name | Type | Required | Description |
---|---|---|---|
Accept-Item | string | false | Used for selecting the desired item representation. Allowed value: application/vnd.sas.decision.external.artifact+json Default: application/vnd.sas.decision.external.artifact+json Example: "application/vnd.sas.decision.external.artifact+json" |