Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

gitlab editing labels UpdateLabel function URL #2048

Closed
threemay opened this issue Oct 27, 2024 · 1 comment · Fixed by #2049
Closed

gitlab editing labels UpdateLabel function URL #2048

threemay opened this issue Oct 27, 2024 · 1 comment · Fixed by #2049

Comments

@threemay
Copy link

threemay commented Oct 27, 2024

PUT /projects/:id/labels/:label_id
from the doc https://docs.gitlab.com/ee/api/labels.html#edit-an-existing-label

For the UpdateLabel function https://github.com/xanzy/go-gitlab/blob/098437be4ce2607448e2dfa5aaa8509e4e2ac475/labels.go#L224C2-L224C61
u := fmt.Sprintf("projects/%s/labels", PathEscape(project))

@threemay threemay changed the title gitlab editing labels gitlab editing labels UpdateLabel function URL Oct 27, 2024
@svanharmelen
Copy link
Member

svanharmelen commented Oct 28, 2024

Should be fixed by #2049 The "current" form is used by older version of GitLab, the new version was not yet added everywhere:

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants