Skip to content

Add keep_latest_artifact to project REST API

Max Orefice requested to merge mo-add-attribute-to-project-rest-api into master

Ref: #296811 (closed)

What does this MR do?

This MR adds the ability to toggle the keep_latest_artifact attribute for a given project with our public REST API.

Why are we doing this?

Following up !49256 (merged) where we added this feature to our GraphQL API it's also important to continue supporting our users leveraging the REST API.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] 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
Edited by Max Orefice

Merge request reports