Re: API Versions

[email protected] 25 Jul 2008 18:16:45 +0000
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
>    http://localhost/rpc/1.23
>    http://localhost/rpc?version=1.23
>    http://localhost/rpc-1.23

The URL should identify the server, so if you think of it as having
multiple servers, this is reasonable, but it doesn't really sound to
me like you're describing that.

I asked here once about the question mark thingy (I can't remember the
name for that - arguments?) and found that nobody uses that for
anything with XML-RPC and there's really no reason to.

>    foo.get.1.23

This is my favorite.  Also, if it really is a whole separate coherent
API as opposed to new versions of particular methods, you could do:

     foo.1.23.get

One nice thing about separate method names is that system.listMethods
shows you what versions are available.

Another, compared to having a version method argument, is that the
base XML-RPC code can do more of the work and save code.

-- 
Bryan Henderson                                   San Jose, California

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/