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

Cannot set path element in between name and version #113

Closed
tjwebb opened this issue Dec 9, 2013 · 3 comments
Closed

Cannot set path element in between name and version #113

tjwebb opened this issue Dec 9, 2013 · 3 comments
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@tjwebb
Copy link

tjwebb commented Dec 9, 2013

A discovery URL like this is impossible (because of the path element "apis"), though it is used by some google apis: discovery/xtuple/apis/v1alpha1/rest.

see: https://github.com/google/google-api-nodejs-client/blob/master/lib/googleapis.js#L213

@rakyll
Copy link
Contributor

rakyll commented Dec 9, 2013

Which API? The discovery endpoints are formatted as discovery/<discoveryVersion>/apis/<apiName>/<apiVersion>/<protocol>

@tjwebb
Copy link
Author

tjwebb commented Dec 9, 2013

See the code I linked to. it does not insert "apis" between version and name.

@rakyll
Copy link
Contributor

rakyll commented Dec 9, 2013

It does, apis is a part of baseDiscoveryUrl. Is there an API you can't discover?

@rakyll rakyll closed this as completed Dec 10, 2013
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 6, 2020
This was referenced Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants