microsoft / mwt-ds

Umbrella repository for projects related to the MWT Decision Service
187 stars 77 forks source link

Proper support for downloading replay data stream in either JSON or VW format #75

Closed lhoang29 closed 8 years ago

lhoang29 commented 8 years ago

Example curl commands (replace <. . .> by proper values):

JSON: curl -H "Content-Type: application/json" -H "auth:<. . .>" -X GET "https://<. . .>/Automation/Offline?startTimeInclusive=201608010000&endTimeExclusive=201609010000" -k

curl -H "Content-Type: application/json" -H "auth:<. . .>" -X GET "https://<. . .>/Automation/Offline?startTimeInclusive=201608010000&endTimeExclusive=201609010000&dataFormat=json" -k

VW: curl -H "Content-Type: application/json" -H "auth:<. . .>" -X GET "https://<. . .>/Automation/Offline?startTimeInclusive=201608010000&endTimeExclusive=201609010000&dataFormat=vw" -k