Find annotations by resourceUris
post/annotations
Find all annotations that are associated with the provided resourceUris. Returns an application/vnd.sas.collection of application/vnd.sas.annotation objects.
1{2 "links": [3 {4 "method": "POST",5 "rel": "collection",6 "href": "/annotations/annotations",7 "uri": "/annotations/annotations",8 "type": "application/vnd.sas.selection",9 "responseType": "application/vnd.sas.collection"10 }11 ],12 "name": "annotations",13 "accept": "application/vnd.sas.annotation",14 "start": 0,15 "count": 2,16 "items": [17 {18 "creationTimeStamp": "2018-03-26T19:50:09.935000Z",19 "modifiedTimeStamp": "2018-03-26T19:50:09.935000Z",20 "createdBy": "sasboot",21 "modifiedBy": "sasboot",22 "id": "2a902411-4f81-4819-9263-203cf0ff29ce",23 "name": "newAnnotationName",24 "domain": "newDomainLabel",25 "version\"": 1,26 "label": "newAnnotationLabel",27 "description": "newDescriptionLabel",28 "links": [29 {30 "method": "GET",31 "rel": "self",32 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",33 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",34 "type": "application/vnd.sas.annotation\""35 },36 {37 "method": "PUT",38 "rel": "update",39 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",40 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",41 "type": "application/vnd.sas.annotation",42 "responseType": "application/vnd.sas.annotation\""43 },44 {45 "method": "DELETE",46 "rel": "delete",47 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce",48 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce\""49 },50 {51 "method": "GET",52 "rel": "up",53 "href": "/annotations/annotations",54 "uri": "/annotations/annotations",55 "type": "application/vnd.sas.collection",56 "itemType": "application/vnd.sas.annotation\""57 },58 {59 "method": "GET",60 "rel": "members",61 "href": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members",62 "uri": "/annotations/annotations/2a902411-4f81-4819-9263-203cf0ff29ce/members",63 "type": "application/vnd.sas.collection",64 "itemType": "application/vnd.sas.annotation.member"65 }66 ]67 }68 ]69}
Selects resourceUris for which associated annotations are to be found.
Identifies a set of resources.
Name | Type | Required | Description |
---|---|---|---|
version | integer | true | The schema version number of this media type. This representation is version 1. |
template | string<uri> | false | A URI template in which the {id} parameter can be replaced with a value from the "resources" array in order to yield the URI of the identified resource. |
type | string | false | Specifies whether the resources array contains IDs, URIs, or both. Allowed values: idurimixed |
resources | array [string] | true | An array of resource IDs or URIs |
links | array [Link] | false | An array of links to related resources and actions. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. This can occur when no matching annotations are found or when the user provides an invalid limit, start, sortBy, or filter. | Schema |