Get the top-level links

get/
Internal-Use Only

Returns a list of links to the top-level collections surfaced through this API. These top level links will include "relationships", "types", and "references". Authorization: Any authenticated user.

Request Samples

1

Response Samples

1{
2 "version": 1,
3 "links": [
4 {
5 "method": "GET",
6 "rel": "types",
7 "href": "/relationships/types",
8 "uri": "/relationships/types",
9 "type": "application/vnd.sas.collection",
10 "itemType": "application/vnd.sas.relationship.type"
11 },
12 {
13 "method": "GET",
14 "rel": "references",
15 "href": "/relationships/references",
16 "uri": "/relationships/references",
17 "type": "application/vnd.sas.collection",
18 "itemType": "application/vnd.sas.relationship.reference"
19 },
20 {
21 "method": "POST",
22 "rel": "createReference",
23 "href": "/relationships/references",
24 "uri": "/relationships/references",
25 "type": "application/vnd.sas.relationship.reference",
26 "responseType": "application/vnd.sas.relationship.reference"
27 },
28 {
29 "method": "POST",
30 "rel": "createReferences",
31 "href": "/relationships/references",
32 "uri": "/relationships/references",
33 "type": "application/vnd.sas.collection",
34 "responseType": "application/vnd.sas.collection",
35 "itemType": "application/vnd.sas.relationship.reference",
36 "responseItemType": "application/vnd.sas.relationship.reference"
37 },
38 {
39 "method": "GET",
40 "rel": "relationships",
41 "href": "/relationships/relationships",
42 "uri": "/relationships/relationships",
43 "type": "application/vnd.sas.collection",
44 "itemType": "application/vnd.sas.relationship"
45 },
46 {
47 "method": "POST",
48 "rel": "createRelationship",
49 "href": "/relationships/relationships",
50 "uri": "/relationships/relationships",
51 "type": "application/vnd.sas.relationship",
52 "responseType": "application/vnd.sas.relationship"
53 },
54 {
55 "method": "POST",
56 "rel": "createRelationships",
57 "href": "/relationships/relationships",
58 "uri": "/relationships/relationships",
59 "type": "application/vnd.sas.collection",
60 "responseType": "application/vnd.sas.collection",
61 "itemType": "application/vnd.sas.relationship",
62 "responseItemType": "application/vnd.sas.relationship"
63 },
64 {
65 "method": "POST",
66 "rel": "startLoad",
67 "href": "/relationships/jobs",
68 "uri": "/relationships/jobs",
69 "type": "application/vnd.sas.relationship.job.load",
70 "responseType": "application/vnd.sas.relationship.job.load"
71 }
72 ]
73}

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The desired representation for the response.

Allowed values:
application/vnd.sas.api+jsonapplication/json
Default:
application/vnd.sas.api+json

Responses

StatusMeaningDescription
200OKOK.HeadersSchema
404Not FoundThe service was not avaialable.