Get the collection of repository items
get/repository/items
Returns the collection of repository items by query. Authorization: Requires read permission on all items that are returned.
1{2 "links": [3 {4 "method": "GET",5 "rel": "self",6 "href": "/clinicalRepository/repository/items?filter=and(like(name,'test*'),like(location,'/Sarah%20BU'))&sortBy=name:ascending:primary,name:descending:secondary&start=0&limit=100",7 "uri": "/clinicalRepository/repository/items?filter=and(like(name,'test*'),like(location,'/Sarah%20BU'))&sortBy=name:ascending:primary,name:descending:secondary&start=0&limit=100",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.clinical.repository.item+json"10 },11 {12 "method": "GET",13 "rel": "collection",14 "href": "/clinicalRepository/repository/items",15 "uri": "/clinicalRepository/repository/items",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.clinical.repository.item+json"18 }19 ],20 "name": "items",21 "accept": "application/vnd.sas.clinical.repository.item+json",22 "start": 0,23 "count": 10,24 "items": [25 {26 "version": 1,27 "createdBy": "sastest1",28 "creationTimeStamp": "2023-09-19T19:14:39Z",29 "modifiedBy": "sastest1",30 "modifiedTimeStamp": "2023-09-19T19:15:34Z",31 "id": "031ed8d9-f188-4d8f-ad74-ef917d0bec31",32 "typeId": "folder",33 "createdByDisplayName": "SAS Test User 1 (sastest1)",34 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",35 "primaryType": "FOLDER",36 "name": "TestData",37 "location": "/Sarah BU",38 "path": "/Sarah BU/TestData",39 "size": 32768,40 "propertiesModifiedTimeStamp": "2023-09-19T19:14:39Z",41 "propertiesModifiedBy": "sastest1",42 "propertiesModifiedByDisplayName": "SAS Test User 1 (sastest1)",43 "state": "ACTIVE",44 "owner": "sastest1",45 "ownerDisplayName": "SAS Test User 1 (sastest1)",46 "defaultOwner": "sastest1",47 "defaultOwnerDisplayName": "SAS Test User 1 (sastest1)"48 },49 {50 "version": 1,51 "createdBy": "sastest1",52 "creationTimeStamp": "2023-09-19T19:14:57Z",53 "modifiedBy": "sastest1",54 "modifiedTimeStamp": "2023-09-19T19:17:04Z",55 "id": "01f15a4c-06db-4bcc-b999-09bf99e8ae0b",56 "typeId": "folder",57 "createdByDisplayName": "SAS Test User 1 (sastest1)",58 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",59 "primaryType": "FOLDER",60 "name": "TestDocuments",61 "location": "/Sarah BU",62 "path": "/Sarah BU/TestDocuments",63 "size": 1385,64 "propertiesModifiedTimeStamp": "2023-09-19T19:14:57Z",65 "propertiesModifiedBy": "sastest1",66 "propertiesModifiedByDisplayName": "SAS Test User 1 (sastest1)",67 "state": "ACTIVE",68 "owner": "sastest1",69 "ownerDisplayName": "SAS Test User 1 (sastest1)",70 "defaultOwner": "sastest1",71 "defaultOwnerDisplayName": "SAS Test User 1 (sastest1)"72 }73 ],74 "limit": 2,75 "version": 276}
Name | Type | Required | Description |
---|---|---|---|
filter | string<filter-criteria> | false | Filter criteria for items. The following fields are not supported in filter criteria: children, contentType, and digest. See Filtering in REST APIs. Example: "eq(name,'reports')" |
limit | integer | false | The maximum number of items to return. Defaults to 10. The maximum cannot exceed 500. Examples: 10 |
sortBy | string<sort-criteria> | false | Sorts the returned items. The following fields are not supported for sort: children, contentType, and digest. See Sorting in REST APIs. Example: "name:ascending:primary" |
start | integer | false | 0-based offset of the first type to return. Defaults to 0. Examples: 10 |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | OK | Schema |