Update Content Source

Update Content Source

Update content source

Request
URI
PATCH
https://vra-interop-222-139.lvn.broadcom.net/content/api/sources/{id}
COPY
Path Parameters
string
id
Required

id

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


Request Body
ContentSourceConfig of type(s) application/json
Required

Show optional properties

{
    "requestScopeOrg": false
}
{
    "contentType": "string",
    "pushSyncEnabled": false,
    "integrationId": "string",
    "repository": "string",
    "branch": "string",
    "path": "string",
    "endpointId": "string",
    "requestScopeOrg": false
}
string
contentType
Optional

Configuration type

boolean
pushSyncEnabled
Optional

Is push synchronization enabled

string
integrationId
Optional

Id of the integration

string
repository
Optional

Content source repository

string
branch
Optional

Repository branch

string
path
Optional

Folder path

string
endpointId
Optional

Endpoint Id

boolean
requestScopeOrg
Required

Share content source across org

Authentication
This operation uses the following authentication methods.
Responses
200

Content source updated

Returns ContentSource of type(s) application/json
"ContentSource Object"
string As uuid As uuid
id
Required

Content Source id

string
name
Required

Content Source name

string
description
Optional

Content Source description

string
typeId
Required

Content Source type

Possible values are : com.github, com.github.enterprise, com.gitlab, com.gitlab.enterprise, org.bitbucket,
string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created By

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated By

string
projectId
Required

Associated projects

object
config
Optional

config

string
orgId
Optional

Associated org

boolean
syncEnabled
Optional

Is Sync Enabled


401

Unauthorized

Returns ContentSource of type(s) application/json
"ContentSource Object"
string As uuid As uuid
id
Required

Content Source id

string
name
Required

Content Source name

string
description
Optional

Content Source description

string
typeId
Required

Content Source type

Possible values are : com.github, com.github.enterprise, com.gitlab, com.gitlab.enterprise, org.bitbucket,
string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created By

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated By

string
projectId
Required

Associated projects

object
config
Optional

config

string
orgId
Optional

Associated org

boolean
syncEnabled
Optional

Is Sync Enabled


403

Forbidden

Returns ContentSource of type(s) application/json
"ContentSource Object"
string As uuid As uuid
id
Required

Content Source id

string
name
Required

Content Source name

string
description
Optional

Content Source description

string
typeId
Required

Content Source type

Possible values are : com.github, com.github.enterprise, com.gitlab, com.gitlab.enterprise, org.bitbucket,
string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created By

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated By

string
projectId
Required

Associated projects

object
config
Optional

config

string
orgId
Optional

Associated org

boolean
syncEnabled
Optional

Is Sync Enabled


404

Not Found

Returns ContentSource of type(s) application/json
"ContentSource Object"
string As uuid As uuid
id
Required

Content Source id

string
name
Required

Content Source name

string
description
Optional

Content Source description

string
typeId
Required

Content Source type

Possible values are : com.github, com.github.enterprise, com.gitlab, com.gitlab.enterprise, org.bitbucket,
string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created By

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated By

string
projectId
Required

Associated projects

object
config
Optional

config

string
orgId
Optional

Associated org

boolean
syncEnabled
Optional

Is Sync Enabled


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"requestScopeOrg:"boolean"}'