Skip to content

getRepositoryTree not working with just ref parameter #382

@abidahmadq

Description

@abidahmadq

GET /api/v4/projects/$proj_no/repository/tree?per_page=100&path=&ref=$branch_name&recursive=True
Doesn't work for branch_name other than master.
But using these 2 queries work ->

  1. GET /api/v4/projects/$proj_no/repository/tree?per_page=100&path=&ref=$branch_name&recursive=True (ie adding a \ before =)

  2. GET /api/v4/projects/$proj_no/repository/tree?per_page=100&path=&ref_name=$branch_name&recursive=True (ie using ref_name inplace of ref)

I have tested it. Please check if someone can reproduce it.
I can start working on a fix if the problem exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions