When submitting an edit through the API on success all that is returned is a Status=OK response.
I propose that in addition the id of the submission be returned, that way there is a mechanical way of e.g. tracking the status of a submission. The current workaround would be to reparse the pending submissions list after each edit.
I've struggled a bit with tracking the inheritance of submission.py but it looks like db is a MySQLdb.connection object. If so the id should be recoverable using db.insert_id() directly following the db.query(submission) call on L128.
Anonymous
Sounds reasonable.
Implemented in rest/submission.py , installed in SVN 825 on 2022-01-03. Web API documentation (http://www.isfdb.org/wiki/index.php/Web_API#Successful_Completion) has been updated. Closing the FR.