Skip to content

Add _links to package api

Giorgenes Gelatti requested to merge 35527-add-path-to-package into master

What does this MR do?

Adds _links to package entity in the package API.

  • _links.web_path -> path to package details api
  • _links.delete_api_path -> path to destroy api if user has permission to do so

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

Part of #35527 (closed)

Edited by Ash McKenzie

Merge request reports