-
Notifications
You must be signed in to change notification settings - Fork 34
questions export
Luke Baker edited this page Mar 31, 2014
·
4 revisions
Description: Request server to generate CSV file for export to be retained for 3 days
Format: text
URL: POST /questions/2010/export?type=votes&key=123abc
Parameters:
- type: required, string = “votes” || “ideas” || “non_votes”: Indicates what type of data to export
- key: required, string: unique key for this CSV export request. The data can later be requested via this key.
Returns:
Text indicating success or failure
"Error! Specify a key for the export"
"Error! Specify a type of export"
"Ok! Please wait for the response"
The server will generate the CSV data in a background process after responding to the request. The API client can poll for the availability of the data via exports/show API method.