Complete multistep upload
Final step in the multistep upload process. Called with the redirect URL from S3 after successful file upload to provide additional plan metadata and trigger scoring.
post/uploaded
Request body
Example request
{
"description": "A Plan",
"incumbents": [
"R",
"D",
"O"
],
"vote_swings": [
0.04,
0.05,
0.06
]
}Response
Upload completed successfully
Example response
{
"index_url": "https://planscore.s3.amazonaws.com/uploads/20210307T032912.752515089Z/index.json",
"plan_url": "https://planscore.org/plan.html?20210307T032912.752515089Z"
}