-
Notifications
You must be signed in to change notification settings - Fork 0
Uploads export to S3 and ES:
POST /:stream/export?from=:from&to=:to`
Request:
curl -X POST "https://c3-logger-archiver-01.mediainbox.net/cadena3.mp3/export?from=1485112298677&to=1485112363001"
Response:
{"filename":"cadena3.mp3-1485115103061.mp3"}
Download export to browser:
GET /:stream/export?from=:from&to=:to
Request:
curl -X GET "https://c3-logger-archiver-01.mediainbox.net/cadena3.mp3/export?from=1485112298677&to=1485112363001"
Returns export from S3
GET /:stream/export/:id Returns export from S3
Request:
Removes export from S3 and ES
DELETE /:stream/export/:id
Returns all exports from ES
GET /:stream/exports
Request:
curl -X GET https://c3-logger-archiver-01.mediainbox.net/cadena3.mp3/exports
Returns all exports from ES between :from and :to
GET /:stream/exports?from=:from&to=:to