@Riyad
I suggest subsitute codename with :path instead of removing it simply.
As the :id of a project is only used internally by gitlab, while in fact the :path is what gitlab communicates with external services(https, or git) There is no way for external services to know the :id of an project without consulting gitlab first, which makes this API less usable.
For example, the :path (or previous codename) is maintained in each git repository at .git/config, script could read from that and query about the project info at gitlab directly. Without the :path on the API, script needs to query gitlab about the :id of the project and send the query about the project with the :id. The process in API V3 is more complex than in API V2.
As the upgrade in 3.1 added the :path to the project instead of the codename, I suggest add the :path to the API to identify projects.
By Administrator on 2012-12-22T00:21:08 (imported from GitLab project)
By Administrator on 2012-12-22T00:21:08 (imported from GitLab)
But it's not useful for anything at the moment. If you have path as it is right now, you can't use it to construct the url or use it as an identifier, because the namespace information is missing.
By Administrator on 2012-12-22T16:01:19 (imported from GitLab project)
By Administrator on 2012-12-22T16:01:19 (imported from GitLab)
@Riyad
I understand the situation, :path itself is not useful.
I am interested in development the API for gitlabs as I've already implemented an Ruby wrapper and I am working on a tool like ghi for gitlab. Our team highly depends on the API to work with issues.
I want to know who is in charge of the API design and how could I contribute?
By Administrator on 2012-12-24T17:08:46 (imported from GitLab project)
By Administrator on 2012-12-24T17:08:46 (imported from GitLab)
The best way is to open an issue and make a suggestion for what you think is missing.
Make a proposal with use cases and how it could be implemented.
This allows others to give feedback and let them know somebody is working on it.
This should get you going. We appreciate your effort. :)
By Administrator on 2012-12-24T17:27:58 (imported from GitLab project)
By Administrator on 2012-12-24T17:27:58 (imported from GitLab)