Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

/report/{report_id}/export?inf_token=12345
Retrieves/Modifies a specific report, if no id is given updates the first report found for this user (currently users are only suppose to have 1 report so not sending an id is fine)
Possible Methods

GET

Arguments

report_id(optional)
Report to modify

inf_token (optional)
cookie to use for authentication if need be (for gui use if they can't send the link internally)

Json Object

n/a

Example
curl -b cookies.txt -X GET "http://localhost:8185/report/5331abfdb8e06221ba4a3b8a/export?inf_token=123456" > response.txt

 

Example Response
curl -b cookies.txt -X GET "http://localhost:8185/report/5331abfdb8e06221ba4a3b8a/export?inf_token=123456" > response.txt

Returns a mediatype=application/pdf file which browsers typically handle
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.