Get a list of all segmentation trees
get/segmentationTrees
Returns a resource collection of all segmentation trees.
1{2 "links": [3 {4 "method": "GET",5 "rel": "collection",6 "href": "/decisions/segmentationTrees",7 "uri": "/decisions/segmentationTrees",8 "type": "application/vnd.sas.collection"9 },10 {11 "method": "GET",12 "rel": "self",13 "href": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=2&limit=1",14 "uri": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=2&limit=1",15 "type": "application/vnd.sas.collection",16 "itemType": "application/vnd.sas.summary"17 },18 {19 "method": "GET",20 "rel": "first",21 "href": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=0&limit=1",22 "uri": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=0&limit=1",23 "type": "application/vnd.sas.collection",24 "itemType": "application/vnd.sas.summary"25 },26 {27 "method": "GET",28 "rel": "prev",29 "href": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=1&limit=1",30 "uri": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=1&limit=1",31 "type": "application/vnd.sas.collection",32 "itemType": "application/vnd.sas.summary"33 },34 {35 "method": "GET",36 "rel": "next",37 "href": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=3&limit=1",38 "uri": "/decisions/segmentationTrees?sortBy=creationTimeStamp:descending&start=3&limit=1",39 "type": "application/vnd.sas.collection",40 "itemType": "application/vnd.sas.summary"41 },42 {43 "method": "POST",44 "rel": "create",45 "href": "/decisions/segmentationTrees",46 "uri": "/decisions/segmentationTrees",47 "type": "application/vnd.sas.decision.segmentation.tree",48 "responseType": "application/vnd.sas.decision.segmentation.tree"49 }50 ],51 "name": "segmentationTrees",52 "accept": "application/vnd.sas.summary",53 "start": 2,54 "items": [55 {56 "creationTimeStamp": "2022-03-18T17:00:26.172Z",57 "modifiedTimeStamp": "2022-03-18T17:00:26.174Z",58 "createdBy": "sasdemo",59 "modifiedBy": "sasdemo",60 "id": "647ccb1f-68d1-419a-9f09-1942bea0a122",61 "type": "segmentationTree",62 "name": "EvenChecker",63 "links": [64 {65 "method": "GET",66 "rel": "up",67 "href": "/decisions/segmentationTrees",68 "uri": "/decisions/segmentationTrees",69 "type": "application/vnd.sas.collection"70 },71 {72 "method": "GET",73 "rel": "self",74 "href": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",75 "uri": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",76 "type": "application/vnd.sas.decision.segmentation.tree"77 },78 {79 "method": "GET",80 "rel": "alternate",81 "href": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",82 "uri": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",83 "type": "application/vnd.sas.summary"84 },85 {86 "method": "DELETE",87 "rel": "delete",88 "href": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",89 "uri": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122"90 },91 {92 "method": "PUT",93 "rel": "update",94 "href": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",95 "uri": "/decisions/segmentationTrees/647ccb1f-68d1-419a-9f09-1942bea0a122",96 "type": "application/vnd.sas.decision.segmentation.tree",97 "responseType": "application/vnd.sas.decision.segmentation.tree"98 }99 ],100 "version": 2101 }102 ],103 "limit": 1,104 "version": 2105}
Name | Type | Required | Description |
---|---|---|---|
parentFolderUri | string</folders/folders/{parentFolderId}> | false | The folder in which the target segmentation trees are located. Examples: "/folders/folders/@public" |
filter | string<filter-criteria> | false | The criteria for filtering the segmentation trees. See Filtering in REST APIs. The following properties support filtering:
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. Default: 10 Examples: 500 |
sortBy | string<sort-criteria> | false | The criteria for sorting the segmentation trees. See Sorting in REST APIs. The following properties support sorting:
Default: creationTimeStamp:descending Examples: "modifiedTimeStamp:descending" |
start | integer | false | The starting index for the first item on a page. The index is 0-based. Default: 0 Examples: 100 |
Name | Type | Required | Description |
---|---|---|---|
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" |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. | Headers | Schema |
406 | Not Acceptable | The request was not acceptable. An invalid media type was specified for the `Accept-Item` header value. | Headers | Schema |