Return evidence id to user when release evidence is created in API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

When a user hits the release evidence endpoint we schedule a background job for generating release evidence and just respond with 200. Generating evidence can take a very long time, so doing this in a web transaction doesn't sound like a good idea.

Intended users

Proposal

I'd suggest in API request:

  1. create an evidence with empty evidence json
  2. schedule generating evidence json
  3. return evidence id to user

Permissions and Security

  • Must follow the current Release Evidence permission paradigm

Documentation

  • Update documentation to include this extension

What is the type of buyer?

  • Premium +
Edited by 🤖 GitLab Bot 🤖