Get list of external artifacts for decision revision

get/flows/{decisionId}/revisions/{revisionId}/externalArtifacts
Internal-Use Only

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.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/externalArtifacts",
7 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/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/revisions/77cfc1c3-f050-4169-939a-941e7c664215/externalArtifacts",
15 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/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/revisions/77cfc1c3-f050-4169-939a-941e7c664215/",
23 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/",
24 "type": "application/vnd.sas.decision"
25 }
26 ],
27 "name": "externalArtifacts",
28 "accept": "application/vnd.sas.decision.external.artifact",
29 "count": 0,
30 "items": [],
31 "version": 2
32}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier of the decision.

Examples:
"094078e7-278a-4719-a704-6e5e65af29ee"
revisionId
string
true

The identifier of the revision.

Examples:
"cd942f3c-60a0-4b16-9184-4cb8921fb0eb"

Header Parameters

NameTypeRequiredDescription
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
Examples:
"application/vnd.sas.decision.external.artifact+json"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo resource exists at the requested path.HeadersSchema