Issue #6822 has been updated by Luke Kanies.

Tracker changed from Feature to Bug

So you're specifically recommending the ability to browse to the master using a 
web browser?

Is that the main thing you're proposing?

On Mar 24, 2011, at 10:08 AM, [email protected] wrote:

> Issue #6822 has been updated by James Turnbull.
> Also of note is that most of our community isn’t developers – many of them 
> don’t immediately grok the REST API. This is a way of helping them do so.
> 
> Feature #6822: Automated API documentation interface
> Author: James Turnbull
> Status: Needs More Information
> Priority: Normal
> Assignee:
> Category:
> Target version:
> Keywords:
> Branch:
> Affected URL:
> You have a web page with the ability to specify the API and some input data. 
> Click submit and it returns the output.
> 
> So put the REST URL in:
> 
> https://yourpuppetmaster:8140/{environment}/{resource}/{key}
> 
> And it returns output.
> 
> https://puppetmaster:8140/production/catalog/mymachine
> 
> returns a catalog:
> 
> --- &id001 !ruby/object:Puppet::Resource::Catalog
>   aliases: {}
>     applying: false
>       classes: []
>       ...
> Or:
> 
> https://puppetmaster:8140/production/certificate/ca
> 
> returns the CA cert.
> 
> You have received this notification because you have either subscribed to it, 
> or are involved in it. To change your notification preferences, please click 
> here: http://projects.puppetlabs.com/my/account
>
----------------------------------------
Bug #6822: Automated API documentation interface
https://projects.puppetlabs.com/issues/6822

Author: James Turnbull
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 


You have a web page with the ability to specify the API and some input data.  
Click submit and it returns the output.

So put the REST URL in:

https://yourpuppetmaster:8140/{environment}/{resource}/{key}

And it returns output.

https://puppetmaster:8140/production/catalog/mymachine

returns a catalog:

<pre>
--- &id001 !ruby/object:Puppet::Resource::Catalog
  aliases: {}
    applying: false
      classes: []
      ...
</pre>

Or:

https://puppetmaster:8140/production/certificate/ca

returns the CA cert.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to