Get Content Sources Using GET

Get Content Sources Using GET

Use filter parameters to narrow down the results

Request
URI
GET
https://{api_host}//cava-s-182-041.eng.vmware.com/content/api/sources
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about

string
contentType
Optional

Search based on Content Type

Possible values are : BLUEPRINT, IMAGE, ABX_SCRIPTS,
string
integrationId
Optional

Search based on integrationId

string
name
Optional

Search based on Content Source name

string of array
projectIds
Optional

Search based on associated projects

boolean
syncEnabled
Optional

Search based on whether sync is enabled or not

string of array
typeIds
Optional

Search based on Content Source Type Ids

Possible values are : com.gitlab, com.github, com.vmware.marketplace,

Responses
200

Content sources

Returns ContentSources of type(s) application/json
{
    "_embedded": [
        {
            "config": {
                "contentType": "string",
                "integrationId": "string",
                "repository": "string",
                "branch": "string",
                "path": "string"
            },
            "createdAt": "string",
            "createdBy": "string",
            "description": "string",
            "id": "string",
            "lastUpdatedAt": "string",
            "lastUpdatedBy": "string",
            "name": "string",
            "orgId": "string",
            "projectId": "string",
            "syncEnabled": false,
            "typeId": "string"
        }
    ],
    "_links": [
        {
            "deprecation": "string",
            "href": "string",
            "hreflang": "string",
            "media": "string",
            "rel": "string",
            "templated": false,
            "title": "string",
            "type": "string"
        }
    ],
    "page": {
        "number": 0,
        "size": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
_embedded
Optional

_embedded

array of Link
_links
Optional

_links

page
Optional

page