blob: 258164a753537327302f9f067ea219186ead1133 [file] [log] [blame]
TamasBakai67eccc92019-04-26 10:58:08 +00001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
Vijay VKf9e43442019-05-22 22:10:29 +01004API
5===
TamasBakai67eccc92019-04-26 10:58:08 +00006
7GET /events/unauthenticated.VES_NOTIFICATION_OUTPUT
8---------------------------------------------------
9
10Description
11~~~~~~~~~~~
12
13Reads fileReady events from DMaaP (Data Movement as a Platform)
14
15
16Responses
17~~~~~~~~~
18
19+-----------+---------------------+
20| HTTP Code | Description |
21+===========+=====================+
22| **200** | successful response |
23+-----------+---------------------+
24
25GET /FEEDLOG_TOPIC/DEFAULT_FEED_ID?type=pub&filename=FILENAME
maximesson4ad68382019-06-05 17:51:29 +020026-------------------------------------------------------------
TamasBakai67eccc92019-04-26 10:58:08 +000027
28Description
29~~~~~~~~~~~
30
31Querying the Data Router to check whether a file has been published previously.
32
33Responses
34~~~~~~~~~
35
36+-----------+------------+-----------------------+
37| HTTP Code | Body | Description |
38+===========+============+=======================+
39| **400** | NA | error in query |
40+-----------+------------+-----------------------+
41| **200** | [] | Not published yet |
42+-----------+------------+-----------------------+
43| **200** | [$FILENAME]| Already published |
44+-----------+------------+-----------------------+
45
46POST /publish
47-------------
48
49Description
50~~~~~~~~~~~
51
52Publish the collected file/s as a stream to DataRouter
53 - file as stream
54 - compression
55 - fileFormatType
56 - fileFormatVersion
57 - productName
58 - vendorName
59 - lastEpochMicrosec
60 - sourceName
61 - startEpochMicrosec
62 - timeZoneOffset
63
64
65Responses
66~~~~~~~~~
67
68+-----------+---------------------+
69| HTTP Code | Description |
70+===========+=====================+
71| **200** | successful response |
72+-----------+---------------------+