Update Catalog Content Source

Update Catalog Content Source

Update the definition of existing catalog content source entity. If the sourceType is "HelmchartRepo" and the URL is changed then the response is a 202 with task URL in location header. This task tracks the replication process of the corresponding remote source items. Otherwise, the response is 201 with the updated CatalogContentSouce in response body.

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

catalogContentSourceId

string
catalogContentSourceId
Required

catalogContentSourceId


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

owner

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
200

OK

Returns CatalogContentSource of type(s) application/json;version=38.1
{
    "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

owner

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