|
1 | 1 | { |
2 | 2 | "openapi": "3.0.2", |
3 | 3 | "info": { |
4 | | - "title": "osparc public web api", |
5 | | - "description": "**osparc-simcore public web API Specifications**\n## Python Library\n- Check the [documentation](https://itisfoundation.github.io/osparc-simcore-python-client)\n- Quick install: ``pip install git+https://github.com/ITISFoundation/osparc-simcore-python-client.git``\n", |
6 | | - "version": "0.4.0", |
| 4 | + "title": "osparc.io web API", |
| 5 | + "description": "osparc-simcore public web API specifications", |
| 6 | + "version": "0.3.0", |
7 | 7 | "x-logo": { |
8 | 8 | "url": "https://raw.githubusercontent.com/ITISFoundation/osparc-manual/b809d93619512eb60c827b7e769c6145758378d0/_media/osparc-logo.svg", |
9 | 9 | "altText": "osparc-simcore logo" |
|
221 | 221 | } |
222 | 222 | } |
223 | 223 | }, |
| 224 | + "404": { |
| 225 | + "description": "File not found" |
| 226 | + }, |
224 | 227 | "422": { |
225 | 228 | "description": "Validation Error", |
226 | 229 | "content": { |
|
260 | 263 | ], |
261 | 264 | "responses": { |
262 | 265 | "200": { |
263 | | - "description": "Successful Response", |
| 266 | + "description": "Returns a arbitrary binary data", |
264 | 267 | "content": { |
265 | | - "application/json": { |
266 | | - "schema": {} |
| 268 | + "application/octet-stream": { |
| 269 | + "schema": { |
| 270 | + "type": "string", |
| 271 | + "format": "binary" |
| 272 | + } |
| 273 | + }, |
| 274 | + "text/plain": { |
| 275 | + "schema": { |
| 276 | + "type": "string" |
| 277 | + } |
267 | 278 | } |
268 | 279 | } |
269 | 280 | }, |
| 281 | + "404": { |
| 282 | + "description": "File not found" |
| 283 | + }, |
270 | 284 | "422": { |
271 | 285 | "description": "Validation Error", |
272 | 286 | "content": { |
|
307 | 321 | } |
308 | 322 | } |
309 | 323 | } |
310 | | - } |
| 324 | + }, |
| 325 | + "security": [ |
| 326 | + { |
| 327 | + "HTTPBasic": [] |
| 328 | + } |
| 329 | + ] |
311 | 330 | } |
312 | 331 | }, |
313 | 332 | "/v0/solvers/{solver_id}": { |
|
350 | 369 | } |
351 | 370 | } |
352 | 371 | } |
353 | | - } |
| 372 | + }, |
| 373 | + "security": [ |
| 374 | + { |
| 375 | + "HTTPBasic": [] |
| 376 | + } |
| 377 | + ] |
354 | 378 | } |
355 | 379 | }, |
356 | 380 | "/v0/solvers/{solver_id}/jobs": { |
|
506 | 530 | } |
507 | 531 | } |
508 | 532 | } |
509 | | - } |
| 533 | + }, |
| 534 | + "security": [ |
| 535 | + { |
| 536 | + "HTTPBasic": [] |
| 537 | + } |
| 538 | + ] |
510 | 539 | } |
511 | 540 | }, |
512 | 541 | "/v0/jobs": { |
|
851 | 880 | "description": "MD5 hash of the file's content" |
852 | 881 | } |
853 | 882 | }, |
854 | | - "description": "Describes a file stored on the server side " |
| 883 | + "description": "Describes a file stored on the server side ", |
| 884 | + "example": { |
| 885 | + "file_id": "f0e1fb11-208d-3ed2-b5ef-cab7a7398f78", |
| 886 | + "filename": "Architecture-of-Scalable-Distributed-ETL-System-whitepaper.pdf", |
| 887 | + "content_type": "application/pdf", |
| 888 | + "checksum": "de47d0e1229aa2dfb80097389094eadd-1" |
| 889 | + } |
855 | 890 | }, |
856 | 891 | "Groups": { |
857 | 892 | "title": "Groups", |
|
1182 | 1217 | "title": "Gravatar Id", |
1183 | 1218 | "maxLength": 40, |
1184 | 1219 | "type": "string", |
1185 | | - "description": "Hash value of email to retrieve an avatar image from https://www.gravatar.com" |
| 1220 | + "description": "md5 hash value of email to retrieve an avatar image from https://www.gravatar.com" |
1186 | 1221 | } |
| 1222 | + }, |
| 1223 | + "example": { |
| 1224 | + "first_name": "James", |
| 1225 | + "last_name": "Maxwell", |
| 1226 | + |
| 1227 | + "role": "USER", |
| 1228 | + "groups": { |
| 1229 | + "me": { |
| 1230 | + "gid": "123", |
| 1231 | + "label": "maxy", |
| 1232 | + "description": "primary group" |
| 1233 | + }, |
| 1234 | + "organizations": [], |
| 1235 | + "all": { |
| 1236 | + "gid": "1", |
| 1237 | + "label": "Everyone", |
| 1238 | + "description": "all users" |
| 1239 | + } |
| 1240 | + }, |
| 1241 | + "gravatar_id": "9a8930a5b20d7048e37740bac5c1ca4f" |
1187 | 1242 | } |
1188 | 1243 | }, |
1189 | 1244 | "ProfileUpdate": { |
|
1224 | 1279 | "title": "Version", |
1225 | 1280 | "pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){2}(-(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*)(\\.(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*))*)?(\\+[-\\da-zA-Z]+(\\.[-\\da-zA-Z-]+)*)?$", |
1226 | 1281 | "type": "string", |
1227 | | - "description": "semantic version number of the node", |
1228 | | - "example": [ |
1229 | | - "1.0.0", |
1230 | | - "0.0.1" |
1231 | | - ] |
| 1282 | + "description": "semantic version number of the node" |
1232 | 1283 | }, |
1233 | 1284 | "id": { |
1234 | 1285 | "title": "Id", |
|
1261 | 1312 | "example": { |
1262 | 1313 | "name": "simcore/services/comp/isolve", |
1263 | 1314 | "version": "2.1.1", |
1264 | | - "id": "42838344-03de-4ce2-8d93-589a5dcdfd05", |
| 1315 | + "id": "f7c25b7d-edd6-32a4-9751-6072e4163537", |
1265 | 1316 | "title": "iSolve", |
1266 | 1317 | "description": "EM solver", |
1267 | 1318 | "maintainer": "[email protected]", |
1268 | | - "url": "https://api.osparc.io/v0/solvers/42838344-03de-4ce2-8d93-589a5dcdfd05" |
| 1319 | + "url": "https://api.osparc.io/v0/solvers/f7c25b7d-edd6-32a4-9751-6072e4163537" |
1269 | 1320 | } |
1270 | 1321 | }, |
1271 | 1322 | "TaskStates": { |
|
0 commit comments