Get List of Catalogs

To view the list of catalogs, use the following request:

GET /catalogs.xml
GET /catalogs.json

XML Request Example 

curl -i -X GET -u user:userpass --url http://onapp.test/catalogs.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example 

curl -i -X GET -u user:userpass --url http://onapp.test/catalogs.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output Example 

 <vcloud_catalogs type="array">
      <vcloud_catalog>
        <user_id>null</user_id>
        <hypervisor_id>4</hypervisor_id>
        <created_at>2016-02-01T11:43:52+00:00</created_at>
        <updated_at>2016-02-01T11:43:52+00:00</updated_at>
        <label>vn-onapp-public8</label>
        <published>true</published>
        <organization_id>11</user_group_id>
        <identifier>a6d6d29a-e8eb-4869-a9af-53a5ec9b792c</identifier>
        <id>8</id>
        <description>This is a description of a catalog</description>
        <data_store_id>18</data_store_id>
      </vcloud_catalog>
      <vcloud_catalog>...</vcloud_catalog>
    </vcloud_catalogs>

Where:

user_id - the owner ID

hypervisor_id - the ID of the compute resource

created_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format 

updated_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format 

label - the name of the catalog

published - true if catalog is published, otherwise, false

organization_id - the ID of the organisation, to which the catalog is assigned

identifier - the identifier of the catalog

id - the ID of the catalog

description - the description of the catalog

data_store_id - the ID of a data store used by the catalog