Get relationship type

get/types/{typeName}
Internal-Use Only

Returns information about a relationship type. The default return media type is application/vnd.sas.relationship.type+json. To return locale-specific labels and descriptions, specify an Accept-Language.

Request Samples

1

Response Samples

1{
2 "version": 1,
3 "name": "Dependent",
4 "description": "A dependency exists when an object cannot function or be defined without the related object. For example, this \"job\" object must have its source \"table\" object.",
5 "label": "Is dependent on",
6 "directional": true,
7 "partnerLabel": "Impacts",
8 "partnerDescription": "This object impacts the other object.",
9 "links": [
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/relationships/types/Dependent",
14 "uri": "/relationships/types/Dependent",
15 "type": "application/vnd.sas.relationship.type"
16 },
17 {
18 "method": "GET",
19 "rel": "up",
20 "href": "/relationships/types",
21 "uri": "/relationships/types",
22 "type": "application/vnd.sas.relationship.type"
23 }
24 ]
25}

Path Parameters

NameTypeRequiredDescription
typeName
string
true

The type name.

Header Parameters

NameTypeRequiredDescription
Accept-Language
string
false

The lanaguage/locale to use for localizable content.

Responses

StatusMeaningDescription
200OKOk.HeadersSchema
404Not FoundNo type exists at the requested path.Schema