Skip to content
New issue

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

Note that project ID can also be a string #230

Closed
connorshea opened this issue Sep 5, 2016 · 0 comments
Closed

Note that project ID can also be a string #230

connorshea opened this issue Sep 5, 2016 · 0 comments

Comments

@connorshea
Copy link
Contributor

connorshea commented Sep 5, 2016

You can pass the project name as a string rather than the ID as an integer to access a project via the API, e.g. https://gitlab.com/api/v3/projects/gitlab-org%2Fgitlab-ce/issues?private_token=PRIVATE_TOKEN. This makes everything a lot easier to work with, also note the slash must be encoded for this to work.

A lot of the gem's docs have to be updated with this.

See also https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6102 and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6133.

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

No branches or pull requests

1 participant