files
Set File Ranks Batch
Set the rank of several files of one object in a single request. All writes share the request-scoped transaction (get_db_session), so a failure on any file rolls back the whole batch — a reorder is applied atomically instead of leaving documents half-reordered.