I just noticed that the API version is embedded in the URL like:

curl -H "Accept: application/json"  http://puppetdb.domain/v2/nodes

I suppose it's too late to implement this so the client would do:

curl -H "Accept: application/json;version=2.0" 
 http://puppetdb.domain/api/nodes

I don't want to have to update puppetdb endpoints registered across various 
systems every time the API is versioned.

Mike Hancock

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to