Bug 494447

Summary: system.config.listFiles() description says "Return the list of files in a given channel." in api doc
Product: Red Hat Satellite 5 Reporter: Sayli Karmarkar <skarmark>
Component: APIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED NOTABUG QA Contact: Sayli Karmarkar <skarmark>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-06 23:39:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sayli Karmarkar 2009-04-06 21:45:06 UTC
Description of problem:
system.config.listFiles() description says "Return the list of files in a given channel." when it is actually for listing all config files on a system irrespective of channels. 

Arguments that you pass to the api are serverId and listLocal boolean and NOT channellabel or id. There is a separate configchannel.listFiles API for that. 
I guess it was copied by mistake from configchannel.listFiles.

Comment 1 Sayli Karmarkar 2009-04-06 23:39:42 UTC
After looking more in detail it seems right as its returning files for local override configuration channel or sandbox configuration channel depending upon the argument provided. So closing bug.