Skip to content

feat: add Project Aliases API support

API documentation: https://docs.gitlab.com/api/project_aliases/

This merge request adds support for managing project aliases in GitLab through the API client. Project aliases are alternative names that can be used to reference GitLab projects.

The changes include:

  • A new ProjectAliases service that provides four main operations: listing all aliases for a project, getting details of a specific alias, creating new aliases, and deleting existing aliases
  • Integration of this service into the main GitLab client so it can be used alongside other GitLab features
  • Comprehensive test coverage to ensure the new functionality works correctly
  • Auto-generated mock objects for testing purposes

The implementation follows the same patterns as other services in the codebase, making HTTP requests to GitLab's project aliases API endpoints. This allows developers using this client library to programmatically manage project aliases without having to manually construct API calls.

Closes #2157 (closed)

Edited by Yashesvinee V

Merge request reports

Loading