Get Content Sources Using GET
Use filter parameters to narrow down the results
Request
URI
GET
https://{api_host}/content/api/sources
COPY
Query Parameters
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,
"syncProperties": {},
"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
}
}
array of
object
_embedded
Optional
_embedded
array of
object
_links
Optional
_links
object
page
Optional
page
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/content/api/sources