Skip to content

Fix creating release asset links when using the API

Krasimir Angelov requested to merge 230698-fix-create-release-asset-link into master

What does this MR do?

When creating relase with asset links using the API, link_type and filepath were not declared as params and thus not set.

This adds them as optional declared params to the POST /projects/:id/releases endpoint.

Related to #230698 (closed).

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading