-
Notifications
You must be signed in to change notification settings - Fork 14
/
macreduce.mybluemix.net.json
113 lines (113 loc) · 2.72 KB
/
macreduce.mybluemix.net.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
{
"consumes": [
"application/json"
],
"swagger": "2.0",
"produces": [
"application/xml",
"application/json"
],
"basePath": "/api/v1",
"schemes": [
"https"
],
"paths": {
"/mac": {
"get": {
"summary": "Retrieves one or more mac",
"responses": {
"200": {
"description": "An array of mac"
}
}
},
"post": {
"summary": "Stores one or more mac",
"responses": {
"200": {
"description": "operation has been successful"
}
}
},
"delete": {
"summary": "Deletes all mac",
"responses": {
"200": {
"description": "operation has been successful"
}
}
}
},
"/mac/{macId}": {
"get": {
"summary": "Retrieves a Mac document",
"responses": {
"200": {
"description": "Mac document fetched successfully"
}
},
"parameters": [
{
"in": "path",
"name": "macId",
"required": true,
"description": "ID of the Mac",
"type": "string",
"format": "objectid"
}
]
},
"patch": {
"summary": "Updates a Mac document",
"responses": {
"200": {
"description": "Mac document updated successfully"
}
},
"parameters": [
{
"in": "path",
"name": "macId",
"required": true,
"description": "ID of the Mac",
"type": "string",
"format": "objectid"
}
]
},
"delete": {
"summary": "Deletes a Mac document",
"responses": {
"200": {
"description": "Mac document deleted successfully"
}
},
"parameters": [
{
"in": "path",
"name": "macId",
"required": true,
"description": "ID of the Mac",
"type": "string",
"format": "objectid"
}
]
}
}
},
"host": "macreduce.mybluemix.net",
"info": {
"title": "Macreduce API",
"description": "Python-Eve Framework application backend deployed on IBM Bluemix that provides a practical illustration of setting up a python REST API to support mobile workloads and integration with 3rd party API platforms.",
"termsOfService": "Have fun and learn!",
"contact": {
"url": "http://ibm.biz/sanjay_joshi",
"name": "joshisa"
},
"license": {
"url": "https://github.com/ibmjstart/bluemix-python-eve-sample/blob/master/LICENSE",
"name": "Apache 2.0"
},
"version": "1.0"
}
}