-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1-query-param-description.json
115 lines (115 loc) · 2.54 KB
/
1-query-param-description.json
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
109
110
111
112
113
114
115
{
"basePath": "/api/v1",
"definitions": {
"InstanceAndName": {
"properties": {
"instanceId": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"NotFoundError": {
"properties": {
"error": {
"type": "string"
},
"stack": {
"type": "string"
}
},
"type": "object"
},
"ValidationError": {
"properties": {
"error": {
"type": "string"
}
},
"type": "object"
}
},
"info": {
"contact": {
"email": "[email protected]"
},
"description": "End-to-end Test Service (ETS) for Wire's test automation suite.",
"license": {
"name": "GPL-3.0",
"url": "https://github.com/wireapp/wire-web-ets/blob/master/LICENSE"
},
"termsOfService": "https://wire.com/legal/",
"title": "E2E Test Service",
"version": "1.16.1"
},
"paths": {
"/instance/{instanceId}/archive": {
"post": {
"operationId": "archiveConversation",
"parameters": [
{
"description": "ID of instance to return",
"format": "uuid",
"in": "path",
"name": "instanceId",
"required": true,
"type": "string"
},
{
"description": "",
"in": "body",
"name": "body",
"required": true,
"schema": {
"properties": {
"archive": {
"type": "boolean"
},
"conversationId": {
"format": "uuid",
"type": "string"
}
},
"type": "object"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/InstanceAndName"
}
},
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/NotFoundError"
}
},
"422": {
"description": "Validation error",
"schema": {
"$ref": "#/definitions/ValidationError"
}
}
},
"summary": "Archive a conversation",
"tags": [
"Instance"
]
}
}
},
"schemes": [
"http"
],
"swagger": "2.0"
}