[Spacewalk-list] API and yum repo creation/channel assignment

jdfire at cox.net jdfire at cox.net
Thu Feb 24 22:26:15 UTC 2011


Michael/All,

Thank you for providing me the information. 

When I go to the https://<your_spacewalk>/rhn/apidoc/  location to view the parameters on some of the items I get the following:

Under Description: I see the item $call.doc  (Nothing else.
Also under Parameters: It is blank.

It seems that all the new APIs that have been added that are different from Satellite are not showing the correct information. 

On a side note some of the docs (like proxy guide, Installation Guide, etc...) point to Redhat.com's documentation and not showing an actual webpage with the help documents.


---- Michael Mraka <michael.mraka at redhat.com> wrote: 
> JDFire wrote:
% Hello Michael/All
% 
% Thank you for your assistance. I have reviewed the documentation and it seems to be missing the parameters. 
% The doc shows in the description as $call.doc and then in the parameters it is blank. Is there anything I could do to resolve this?

I'm not sure what $call.doc you are talking about...

API doc is on https://<your_spacewalk>/rhn/apidoc/ and there's non-blank list
of params, so for the two mentioned below it's

https://<your_spacewalk>/rhn/apidoc/handlers/ChannelSoftwareHandler.jsp#createRepo
Method: createRepo
Description:
Creates a ContentSource (repo) 

Parameters:
string sessionKey 
string label - label of repo wanted 
string type - type of repo wanted 
string url - url of repo wanted 

Returns: 
ContentSource

https://<your_spacewalk>/rhn/apidoc/handlers/ChannelSoftwareHandler.jsp#associateRepo
Method: associateRepo
Description:
Associates a ContentSource (repo) with a channel 

Parameters:
string sessionKey 
string chanLabel - of the channel to use 
string repoLabel - of the repo to associate 

Returns: 
Channel


Regards,

--
Michael Mráka
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list





More information about the Spacewalk-list mailing list