summaryrefslogtreecommitdiffstats
path: root/docs/sections/apis/des_api.json
blob: 0db3b4df817565602b5ca1260f17f605a729d9f5 (plain)
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
{
    "swagger": "2.0",
    "info": {
        "description": "This page lists all the rest apis for DataLake.",
        "version": "1.1.0",
        "title": "DataLake Extraction Service Rest APIs"
    },
    "host": "r-node-1:31157/datalake/v1/",
    "basePath": "/",
    "tags": [{
        "name": "des-controller",
        "description": "DES Controller"
    }],
    "paths": {
        "/exposure/{serviceId}": {
            "post": {
                "tags": ["des-controller"],
                "summary": "Datalake Data Extraction Service.",
                "operationId": "serveUsingPOST",
                "consumes": ["application/json"],
                "produces": ["application/json"],
                "parameters": [{
                    "in": "body",
                    "name": "requestMap",
                    "description": "requestMap",
                    "required": true,
                    "schema": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "string"
                        }
                    }
                }, {
                    "name": "serviceId",
                    "in": "path",
                    "description": "serviceId",
                    "required": true,
                    "type": "string"
                }],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "type": "object",
                            "additionalProperties": {
                                "type": "object"
                            }
                        }
                    },
                    "201": {
                        "description": "Created"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "403": {
                        "description": "Forbidden"
                    },
                    "404": {
                        "description": "Not Found"
                    }
                },
                "deprecated": false
            }
        }
    }
}