|
Relationship
|
HTTP Method
|
Description
|
|---|---|---|
|
self
|
GET
|
The current page of
the (filtered) collection.
URI: {SASApi}/rest/collectionUri?start=startIndex&limit=limitIndex
Media type: application/vnd.sas.collection
|
|
next
|
GET
|
The next page of resources.
It should be omitted if the current view is on the last page.
URI: {SASApi}/rest/collectionUri?start=startIndex&limit=limitIndex
Media type: application/vnd.sas.collection
|
|
first
|
GET
|
The first page of resources.
It should be omitted if the current view is on the first page.
URI: {SASApi}/rest/collectionUri?start=startIndex&limit=limitIndex
Media type: application/vnd.sas.collection
|
|
last
|
GET
|
The last page of resources.
It should be omitted if the current view is on the last page.
URI: {SASApi}/rest/collectionUri?start=startIndex&limit=limitIndex[modifiers]
Media type: application/vnd.sas.collection
|
|
up
|
GET
|
The resource that this
collection resides in.
URI: {SASApi}/rest/containerUri
Media type: application/vnd.sas.collection
|
{
"version" : 2,
"accept": "space-separated media type names allowed in this collection",
"count" : integer,
"start" : integer,
"limit" : integer,
"name" : "items",
"items": [
{ resource1 fields }, ...,
{ resourceN fields }
],
"links" : [
{ link representation }, ...
{ link representation },
]
}