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

add the XML-RPC endpoint URL to the docs #104

Closed
domnikl opened this issue Apr 4, 2012 · 3 comments
Closed

add the XML-RPC endpoint URL to the docs #104

domnikl opened this issue Apr 4, 2012 · 3 comments

Comments

@domnikl
Copy link

domnikl commented Apr 4, 2012

I had to read the code in order to get the endpoint's URL, would be nicer if there were a small passage in the docs where users could get the endpoints URL from :)

@mnaberez
Copy link
Member

mnaberez commented Apr 4, 2012

http://supervisord.org/introduction.html

The same HTTP server which serves the web UI serves up an XML-RPC interface that can be used to
interrogate and control supervisor and the programs it runs. To use the XML-RPC interface, connect to
supervisor’s http port with any XML-RPC client library and run commands against it. An example of doing
this using Python’s xmlrpclib client library is as follows.

import xmlrpclib
server = xmlrpclib.Server('http://localhost:9001/RPC2')

@domnikl
Copy link
Author

domnikl commented Apr 4, 2012

Sorry, didn't assumed it to be in the introduction ... assumed it to be on the api page http://supervisord.org/api.html

@mnaberez
Copy link
Member

mnaberez commented Apr 4, 2012

That makes more sense. We should either move it there or put a link to it on that page.

I'll leave this issue open until we do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants