Construct GitLab URL without slug -


Is any of the milestone or project for creating a GitLab URL based on the id property The way? Slug instead?

Reference:

I have an app that I use as a Geetabab web hook, and want to link GitLab back to its front end. I keep the project and the milestone ID because they are unique, but there can be no way to link them back. Ideally something: http://gitlab.example.com/project/83/milestone/113 or even http://gitlab.example.com/milestone/ 113 will work for me (even if they do a redirect).

checking the rake routes and config / routes.rb Tells me that such routes are not present.

There is only one option which I can see:

  • Just store your slugs which are just unique, your request and memory usage will be slightly larger, but its Is worth

  • To request an additional API to get the slug, 2 requests are required, so it is worse than making a big request.

For new forms of the form, / something some should be blacklisted, and interestingly the Projects are already in blacklist, but it is currently only used for project creation.

Landmarks Although not in the blacklist: Therefore a user can be called a milestone and it can generate ambiguity.

How do I organize its API and path, because it is likely to be optimal: Is it possible to access ID Web in GitHub?


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -