openknowledge-archive / dpr-api

DEPRECATED - Data Package Registry API and Frontend
http://frictionlessdata.io/
MIT License
7 stars 6 forks source link

Openspending-compatible upload finalization api. #251

Closed Fak3 closed 7 years ago

Fak3 commented 7 years ago

To merge with os-conductor we should try to be compatible in the finalize upload API.

Fak3 commented 7 years ago

Hm... I actually think that the 'status' should be better renamed to 'job_status', to clearly separate request status (as in http terms) and job status. We already use 'status': 'OK' everywhere in the API to indicate that the request handled successfully. But here the client may want to know both - job status (queued) and request status. So the proposal would be: on success: {status: ok, job_status: queued}

subhankarb commented 7 years ago

FIXED. Done with the pull request https://github.com/frictionlessdata/dpr-api/pull/253