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

support repo URLs without 2 path segments in update-package API call #917

Closed
fkooman opened this issue May 29, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@fkooman
Copy link

commented May 29, 2018

Git repositories like https://git.tuxed.net/php-yubitwee are not supported with the update-package API calls because it only has on path segment.

$ curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=fkooman&apiToken=<TOKEN>' -d'{"repository":{"url":"https://git.tuxed.net/php-yubitwee"}}'
{"status":"error","message":"Could not parse payload repository URL"}

Is there a way to support this without me modifying my Git server directory structure?

@fkooman fkooman changed the title support repo URLs without "user" in URL for "update-package" API calls support repo URLs 2 path segments in update-package API call May 29, 2018

@fkooman fkooman changed the title support repo URLs 2 path segments in update-package API call support repo URLs without 2 path segments in update-package API call May 29, 2018

@Seldaek Seldaek closed this in 3735498 Jun 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.