vladukua / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Handle repeated REST path parameters #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.2.1-alpha)?

1.3 and before

Describe the problem.

Rest path template expansion does not handle repeated parameters.

How would you expect it to be fixed?

Extend the code in googleapis.GoogleUrl.expandUrlTemplates() to
handle repeat specifications.  E.g. {/id*} and if id=[1,2,3]
that would expand to /1/2/3

Original issue reported on code.google.com by ai...@google.com on 11 Feb 2011 at 4:01

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Feb 2011 at 12:32

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Feb 2011 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 15 Feb 2011 at 8:30

GoogleCodeExporter commented 9 years ago
Is there a specific Google service that has repeated path parameters?  Can you 
give me a specific example of a publicly visible Google API with such a need?  
Otherwise, let's push this to a later version of the Java library.

Original comment by yan...@google.com on 30 Apr 2011 at 1:02

GoogleCodeExporter commented 9 years ago
I'm fine with later. Moved it to lower priority.

Original comment by ai...@google.com on 30 Apr 2011 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 30 Apr 2011 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 May 2011 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 4 Jun 2011 at 4:13

GoogleCodeExporter commented 9 years ago
Apparently we have an API that we are launching soon that needs this.

Original comment by yan...@google.com on 8 Aug 2011 at 10:14

GoogleCodeExporter commented 9 years ago
Reference:
http://tools.ietf.org/html/draft-gregorio-uritemplate

Original comment by yan...@google.com on 9 Aug 2011 at 12:53

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 28 Oct 2011 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 7 Nov 2011 at 5:38