update link to upper-constraints.txt
[dcaegen2.git] / docs / sections / apis / des_api.json
1 {
2     "swagger": "2.0",
3     "info": {
4         "description": "This page lists all the rest apis for DataLake.",
5         "version": "1.1.0",
6         "title": "DataLake Extraction Service Rest APIs"
7     },
8     "host": "r-node-1:31157/datalake/v1/",
9     "basePath": "/",
10     "tags": [{
11         "name": "des-controller",
12         "description": "DES Controller"
13     }],
14     "paths": {
15         "/exposure/{serviceId}": {
16             "post": {
17                 "tags": ["des-controller"],
18                 "summary": "Datalake Data Extraction Service.",
19                 "operationId": "serveUsingPOST",
20                 "consumes": ["application/json"],
21                 "produces": ["application/json"],
22                 "parameters": [{
23                     "in": "body",
24                     "name": "requestMap",
25                     "description": "requestMap",
26                     "required": true,
27                     "schema": {
28                         "type": "object",
29                         "additionalProperties": {
30                             "type": "string"
31                         }
32                     }
33                 }, {
34                     "name": "serviceId",
35                     "in": "path",
36                     "description": "serviceId",
37                     "required": true,
38                     "type": "string"
39                 }],
40                 "responses": {
41                     "200": {
42                         "description": "OK",
43                         "schema": {
44                             "type": "object",
45                             "additionalProperties": {
46                                 "type": "object"
47                             }
48                         }
49                     },
50                     "201": {
51                         "description": "Created"
52                     },
53                     "401": {
54                         "description": "Unauthorized"
55                     },
56                     "403": {
57                         "description": "Forbidden"
58                     },
59                     "404": {
60                         "description": "Not Found"
61                     }
62                 },
63                 "deprecated": false
64             }
65         }
66     }
67 }