-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRelation.yaml
33 lines (33 loc) · 841 Bytes
/
Relation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
title: Relation
x-stoplight:
id: tph9z5wgvbpbg
type: object
required:
- relationId
- nature
- associatedParty
- self
- links
properties:
relationId:
$ref: './RelationId.yaml'
self:
$ref: './RelationSide.yaml'
nature:
$ref: './RelationNature.yaml'
associatedParty:
$ref: './AssociatedIdentity.yaml'
links:
type: array
readOnly: true
description: |
Can contain the following actions (identified by their `rel` attribute):
* `self` [GET] Get the party informations
* `getAssociatedParty` [GET] Load associated party
items:
$ref: './Link.yaml'
example:
- rel: self
href: 'https://sandbox.skaleet.com/api/company/v1/company-relations?id=42'
- rel: getAssociatedParty
href: 'https://sandbox.skaleet.com/api/company/v1/identities/42'