Get all revisions for a segmentation tree

get/segmentationTrees/{segmentationTreeId}/revisions
Internal-Use Only

Retrieves a list of all revisions that exist for a segmentation tree.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions",
7 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions",
8 "type": "application/vnd.sas.collection"
9 },
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=1&limit=1",
14 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=1&limit=1",
15 "type": "application/vnd.sas.collection",
16 "itemType": "application/vnd.sas.summary"
17 },
18 {
19 "method": "POST",
20 "rel": "create",
21 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions",
22 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions",
23 "type": "application/vnd.sas.decision.segmentation.tree",
24 "responseType": "application/vnd.sas.decision.segmentation.tree"
25 },
26 {
27 "method": "GET",
28 "rel": "first",
29 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=0&limit=1",
30 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=0&limit=1",
31 "type": "application/vnd.sas.collection",
32 "itemType": "application/vnd.sas.summary"
33 },
34 {
35 "method": "GET",
36 "rel": "prev",
37 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=0&limit=1",
38 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=0&limit=1",
39 "type": "application/vnd.sas.collection",
40 "itemType": "application/vnd.sas.summary"
41 },
42 {
43 "method": "GET",
44 "rel": "next",
45 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=2&limit=1",
46 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions?sortBy=creationTimeStamp:descending&start=2&limit=1",
47 "type": "application/vnd.sas.collection",
48 "itemType": "application/vnd.sas.summary"
49 }
50 ],
51 "name": "segmentationTreeRevisions",
52 "accept": "application/vnd.sas.summary",
53 "start": 1,
54 "items": [
55 {
56 "creationTimeStamp": "2022-03-21T17:50:56.124Z",
57 "modifiedTimeStamp": "2022-03-21T17:50:56.126Z",
58 "createdBy": "sasdemo",
59 "modifiedBy": "sasdemo",
60 "id": "8e518948-c1f3-4fc8-90ae-fbf184f0b2c4",
61 "type": "segmentationTree",
62 "name": "EvenChecker",
63 "links": [
64 {
65 "method": "GET",
66 "rel": "up",
67 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions",
68 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions",
69 "type": "application/vnd.sas.collection"
70 },
71 {
72 "method": "GET",
73 "rel": "self",
74 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions/8e518948-c1f3-4fc8-90ae-fbf184f0b2c4",
75 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions/8e518948-c1f3-4fc8-90ae-fbf184f0b2c4",
76 "type": "application/vnd.sas.decision.segmentation.tree"
77 },
78 {
79 "method": "GET",
80 "rel": "alternate",
81 "href": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions/8e518948-c1f3-4fc8-90ae-fbf184f0b2c4",
82 "uri": "/decisions/segmentationTrees/7902e99f-2d49-4f67-891b-efc6a50912c5/revisions/8e518948-c1f3-4fc8-90ae-fbf184f0b2c4",
83 "type": "application/vnd.sas.summary"
84 }
85 ],
86 "version": 2
87 }
88 ],
89 "limit": 1,
90 "version": 2
91}

Path Parameters

NameTypeRequiredDescription
segmentationTreeId
string
true

The identifier for the segmentation tree.

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

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the segmentation tree revisions. See Filtering in REST APIs. The following properties support filtering:

  • createdBy
  • modifiedBy
  • creationTimeStamp
  • modifiedTimeStamp
  • id
  • name
  • description
  • majorRevision
  • minorRevision
  • signature.name
  • signature.description
  • signature.dataType
  • signature.length
  • signature.direction
Examples:
"gt(modifiedTimeStamp, '2021-05-03T15:38:45.654Z')"
limit
integer
false

The maximum number of items to return on this page of results. The actual number of returned items might be less if the collection has been exhausted. The default value is '10'.

Examples:
500
sortBy
string<sort-criteria>
false

The criteria for sorting the segmentation tree revisions. See Sorting in REST APIs. The following properties support sorting:

  • createdBy
  • modifiedBy
  • creationTimeStamp
  • modifiedTimeStamp
  • id
  • name
  • description
  • majorRevision
  • minorRevision
Default:
creationTimeStamp:descending
Examples:
"modifiedTimeStamp:descending"
start
integer
false

The starting index for the first item on a page. The index is 0-based. The default value is '0'.

Examples:
100

Header Parameters

NameTypeRequiredDescription
Accept-Item
string<media-type>
false

The desired item representation.

Allowed values:
application/vnd.sas.decision.segmentation.tree+jsonapplication/vnd.sas.summary+jsonapplication/vnd.sas.dcm.summary+json
Default:
application/vnd.sas.summary+json
Examples:
"application/vnd.sas.decision.segmentation.tree+json"

Responses

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