Bug 1597403

Summary: [RFE] Describe enhancements to infrastructure provider API
Product: Red Hat CloudForms Management Engine Reporter: Andrew Dahms <adahms>
Component: DocumentationAssignee: Red Hat CloudForms Documentation <cloudforms-docs>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.10.0CC: cbudzilo, hhudgeon, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-30 15:18:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Documentation Target Upstream Version:
Embargoed:
Bug Depends On: 1472279    
Bug Blocks:    

Description Andrew Dahms 2018-07-02 21:11:26 UTC
Red Hat CloudForms 4.7 adds the ability to retrieve more information about infrastructure providers, as follows -

* Provided as subcollections, can be queried invidually

GET /api/providers/:id/lans
GET /api/hosts/:id/lans
GET /api/providers/:id/networks
GET /api/providers/:id/folders  (returns Datacenters too)

* Can also be obtained in a single query if needed:

GET /api/providers/:id?expand=resources,lans,networks,folders

These items must be added to the API documentation.