Create Catalog Content Source

Create Catalog Content Source

Create a new CatalogContentSource entity in VCD by registering the provided source information. If the sourceType is "HelmchartRepo" then the response is a 202 with task URL in location header. Otherwise, the response is 201 with CatalogContentSouce in response body.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/catalogContentSources
COPY
Request Body
CatalogContentSource of type(s) application/json
Optional
{
    "id": "string",
    "url": "string",
    "description": "string",
    "sourceType": "string",
    "orgId": "string",
    "owner": {
        "name": "string",
        "id": "string"
    },
    "name": "string",
    "lastSynced": "string"
}
string
id
Optional

UUID for Catalog Content Source. This is immutable.

string
url
Required

URL of the remote source to connect to.

string
description
Optional

description

string
sourceType
Required

The discriminator type is used to differentiate among various types of external content sources. Supported types are: VmwareMarketplace and HelmchartRepo

string
orgId
Optional

URN of org in which this content source is created. This is immutable

owner
Optional

Entity reference used to describe VCD entities

string
name
Required

Display name of this catalog content source.

string As date-time As date-time
lastSynced
Optional

The date and time when this catalog content source was last successfully synchronized.

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns CatalogContentSource of type(s) application/json;version=39.0
{
    "id": "string",
    "url": "string",
    "description": "string",
    "sourceType": "string",
    "orgId": "string",
    "owner": {
        "name": "string",
        "id": "string"
    },
    "name": "string",
    "lastSynced": "string"
}
string
id
Optional

UUID for Catalog Content Source. This is immutable.

string
url
Required

URL of the remote source to connect to.

string
description
Optional

description

string
sourceType
Required

The discriminator type is used to differentiate among various types of external content sources. Supported types are: VmwareMarketplace and HelmchartRepo

string
orgId
Optional

URN of org in which this content source is created. This is immutable

owner
Optional

Entity reference used to describe VCD entities

string
name
Required

Display name of this catalog content source.

string As date-time As date-time
lastSynced
Optional

The date and time when this catalog content source was last successfully synchronized.


202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure