Query Source Items

Query Source Items

Get a list of SourceItems from the given CatalogContentSource. If the 'sourceType' of CatalogContentSource is 'VmwareMarketplace', then 'itemType' of listed SourceItem results can be 'HelmSourceItem' or 'VmSourceItem'. Otherwise, if 'sourceType' is 'HelmchartRepo', 'itemType' results can only be 'HelmSourceItem'.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/catalogContentSources/{catalogContentSourceId}/sourceItems
COPY
Path Parameters
string
catalogContentSourceId
Required

catalogContentSourceId

string
catalogContentSourceId
Required

catalogContentSourceId

Query Parameters
string
filter
Optional

Filter for a query. FIQL format.

string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort

integer
page
Required

Page to fetch, zero offset.

integer
pageSize
Required

Results per page to fetch.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SourceItems of type(s) application/json;version=38.1
This response body class contains all of the following: Page , InlineSourceItems1
{
    "resultTotal": 0,
    "pageCount": 0,
    "page": 0,
    "pageSize": 0,
    "associations": [
        {
            "entityId": "string",
            "associationId": "string"
        }
    ],
    "values": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "itemType": "string",
            "publisher": "string",
            "logo": "string",
            "summary": "string",
            "categories": [
                "string"
            ],
            "screenshots": [
                "string"
            ]
        }
    ]
}

400

Filtering on 'itemType' when catalogContentSource is of 'sourceType' = 'HelmchartRepo' is restricted, for that use case 'itemType' only supports this expression: 'itemType==HelmSourceItem'. Note that filtering on 'sourceType' is really useless in that case.

Operation doesn't return any data structure