chore: remove url from generic api tool
What does this merge request do and why?
This change simplifies a GitLab API tool by removing the ability to accept full GitLab URLs as input. Previously, users could provide either a direct API endpoint path (like "/api/v4/projects/13") or a complete GitLab URL (like "https://gitlab.com/project/-/merge_requests/42"), and the tool would automatically convert URLs to the proper API format. Now, the tool only accepts the direct API endpoint paths, making it more straightforward but requiring users to know the exact API path format. The change removes about 30 lines of URL parsing code and updates the documentation to reflect that only endpoint paths are supported. This makes the tool simpler to maintain but slightly less user-friendly since users can no longer just copy-paste GitLab URLs.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed. -
If this change requires executor implementation: verified that issues/MRs exist for both Go executor and Node executor or confirmed that changes are backward-compatible and don't break existing executor functionality.