[Archive Export] Introduce endpoint to create/read archive export record

Why are we doing this work

After all the archival logic is completed, we want to implement functionality so that our users can download the archived vulnerabilities. For this purpose, we are going to introduce endpoints similar to "vulnerability export" functionality, in this issue.

Implementation plan

  • backend Introduce a new REST API endpoint to schedule archive export generation for the given date range.
  • backend Introduce a new REST API endpoint to read the status of archive export records.

Verification steps

  • Verify that the archive export record is created in the database and the background job is scheduled.
  • Verify that the read API endpoint returns the requested entity.
Edited by Mehmet Emin INAC