Get Content Source Using GET
Get a content source
Request
URI
GET
https://{api_host}//cava-s-182-041.eng.vmware.com/content/api/sources/{id}
COPY
Path Parameters
string
id
Required
ID of the content source
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
Responses
200
Content source
Returns ContentSource of type(s) application/json
{
"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"
}
object
config
Optional
Source custom configuration
string As date-time As date-time
createdAt
Optional
Creation time
string
createdBy
Optional
Created By
string
description
Optional
Content Source description
string As uuid As uuid
id
Required
Content Source id
string As date-time As date-time
lastUpdatedAt
Optional
Update time
string
lastUpdatedBy
Optional
Updated By
string
name
Required
Content Source name
string
orgId
Optional
Associated org
string
projectId
Optional
Associated projects
boolean
syncEnabled
Optional
Is Sync Enabled
object
syncProperties
Optional
Sync related properties
string
typeId
Required
Content Source type
Possible values are : com.github, com.gitlab, com.vmware.marketplace,
404
Content source not found
Operation doesn't return any data structure