We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the Open API documentation https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/openapi/openapi.yaml
Endpoint /projects/{id}/repository/branches can take useful arguments as sort=updated_desc
/projects/{id}/repository/branches
sort=updated_desc
I tested a quick implementation in src/Api/Repositories.php and it works well :
public function branches($project_id, array $parameters = []) { $resolver = $this->createOptionsResolver(); $resolver->setDefined('search') ->setAllowedTypes('search', 'string'); $resolver->setDefined('sort') ->setAllowedTypes('sort', 'string');
Any reasons why it's not implemented ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the Open API documentation https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/openapi/openapi.yaml
Endpoint
/projects/{id}/repository/branches
can take useful arguments assort=updated_desc
I tested a quick implementation in src/Api/Repositories.php and it works well :
Any reasons why it's not implemented ?
The text was updated successfully, but these errors were encountered: