-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger.yaml
108 lines (108 loc) · 2.77 KB
/
swagger.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
swagger: '2.0'
info:
title: Globus Auth API Explorer
description: "[Notice: Currently this API Explorer proxies requests (via '/p') to 'auth.api.beta.globus.org', adding the Authorization header in the process]"
version: "0.0.1"
host: globus-auth-demo.beta.globus.org/p
schemes:
- https
paths:
/token_details:
get:
summary: Token Details
description: Get the token details
parameters:
- name: fields[token]
in: query
allowEmptyValue: false
description: JSON API fields param
type: array
items:
type: string
- name: include
in: query
allowEmptyValue: false
description: JSON API include param
type: array
items:
type: string
collectionFormat: csv
responses:
default:
description: The response
/identities:
get:
summary: Identities
description: Get the identities
parameters:
- name: fields[token]
in: query
allowEmptyValue: false
description: JSON API fields param
type: array
items:
type: string
- name: include
in: query
allowEmptyValue: false
description: JSON API include param
type: array
items:
type: string
collectionFormat: csv
- name: identity_names
in: query
allowEmptyValue: false
description: JSON API include param
type: array
items:
type: string
collectionFormat: csv
- name: identity_ids
in: query
allowEmptyValue: false
description: JSON API include param
type: array
items:
type: string
collectionFormat: csv
responses:
default:
description: The response
/identities/{primary_identity}/relationship/linked_identities:
delete:
summary: Identities
description: Get the identities
parameters:
- name: primary_identity
in: path
required: true
description: Primary Linked Identity ID
type: string
- name: body
in: body
required: true
description: Identities to unlink
schema:
$ref: '#/definitions/Relationship'
responses:
default:
description: The response
definitions:
Relationship:
type: object
properties:
data:
type: array
minItems: 2
items:
$ref: '#/definitions/Identity'
Identity:
type: object
properties:
type:
type: string
default: "indentity"
id:
type: string
default: "<to_unlink1>"