Skip to content
Akshit Kr Nagpal edited this page Jun 23, 2021 · 4 revisions

Description: Request server to generate CSV file for export to be retained for 3 days
Format: text
URL: POST /questions/2010/export.csv?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 by calling the exports/show method with 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.