blob: 0ab104988891e0d0f0603d7d97480e50028e3686 [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
4Paths
5=====
6
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
26-------------
27
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+-----------+---------------------+