forked from OCA/rest-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpartner_image_api.json
59 lines (59 loc) · 1.57 KB
/
partner_image_api.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
{
"info": {
"description": "\nPartner Image Services\n\nService used to retrieve the partner's image\nAccess to the partner image service is only allowed to authenticated\nusers.\nIf you are not authenticated go to <a href='/web/login'>Login</a>\n",
"title": "partner_image REST services",
"version": ""
},
"servers": [
{"url": "http://localhost:8069/base_rest_demo_api/private/partner_image"}
],
"paths": {
"/{id}/get": {
"get": {
"parameters": [
{
"name": "size",
"in": "query",
"required": false,
"allowEmptyValue": false,
"default": "small",
"schema": {"type": "string", "enum": ["small", "medium", "large"]}
}
]
},
"description": "\nGet partner's image\n",
"parameters": [
{
"in": "path",
"name": "id",
"required": true,
"schema": {"type": "integer", "format": "int32"}
}
]
},
"/{id}": {
"get": {
"parameters": [
{
"name": "size",
"in": "query",
"required": false,
"allowEmptyValue": false,
"default": "small",
"schema": {"type": "string", "enum": ["small", "medium", "large"]}
}
]
},
"description": "\nGet partner's image\n",
"parameters": [
{
"in": "path",
"name": "id",
"required": true,
"schema": {"type": "integer", "format": "int32"}
}
]
}
},
"openapi": "3.0.0"
}