Bug 710152
| Summary: | XMLRPC API getApiNamespaces documentation is incorrect | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Marcelo Moreira de Mello <mmello> | ||||
| Component: | API | Assignee: | Miroslav Suchý <msuchy> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 1.5 | CC: | mmello, msuchy | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | spacewalk-java-1.6.16-1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 710160 (view as bug list) | Environment: | |||||
| Last Closed: | 2011-12-22 16:48:00 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 710160, 723481 | ||||||
| Attachments: |
|
||||||
Created attachment 502555 [details]
apiNamespaces.py reproducer
Hello,
Attached follow an reproducer with shows return type from API.
# python apiNamespaces.py
api.getApiNamespaces API returns <type 'dict'>
Cheers,
Marcelo Moreira de Mello
Aligning under space16. Fixed in spacewalk.git commit f95fdfd251525d86ef8c660fadccc5208643dc25 Spacewalk 1.6 has been released. |
Description of problem: XMLRPC API getApiNamespaces documentation is incorrect. The documentation says that it returns list, but returns a dict. Method: getApiNamespaces Description: Lists available API namespaces Parameters: string sessionKey Returns: array: struct - namespace string "namespace" - API namespace string "handler" - API Handler Version-Release number of selected component (if applicable): Spacewalk 1.5 How reproducible: 100% Actual results: API returns a list Expected results: API return a dict