Getting started with the API
To connect to a ProdManager instance, create a
prodmanager.ProdManager object :
prodmanager.ProdManager class provides managers to access the ProdManager resources. Each manager provides a set of methods to act on the resources. The available methods depend on the resource type.
list() will not return the complete list of items. A Python iterator is returned instead. See the Pagination section for more information.
The attributes of objects are defined upon object creation, and depend on the ProdManger API itself. To list the available information associated with an object directly try to access its attributes :
Some objects also provide managers to access related ProdManager resources :
prod-manager allows to send any data to the ProdManager server when making queries :
In case of invalid or missing arguments
prod-manager will raise an exception with the ProdManager server error message :
prod-manager package provides some base types.
prodmanager.ProdManageris the primary class, handling the HTTP requests. It holds the ProdManager URL and authentication information.
prodmanager.base.RestObjectis the base class for all the ProdManager objects. These objects provide an abstraction for ProdManager resources (scopes, services, and so on).
prodmanager.base.RestManageris the base class for objects managers, providing the API to manipulate the resources and their attributes.
Created: October 20, 2022