SourceBuild project list
- Print
- PDF
SourceBuild project list
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
View the SourceBuild project list.
Requests
API URL
GET {SOURCEPIPELINE_API_URL}/sourcebuild/project
Request parameters
None
Request queries
Item | Type | Required | Description | Note |
---|---|---|---|---|
pageNo | string | N | Page number. Forward the entire list if there is no pageNo or pageSize | required if pageSize exist |
pageSize | string | N | Page size. Forward the entire list if there is no pageNo or pageSize | required if pageNo exist |
searchWord | string | N | Project name to search (forward project list including strings) |
Request bodies
None
Responses
Response bodies
{
"projectList": [
{
"id": "integer",
"name": "string",
"source": {
"type": "string",
"repository": "string",
"branch": "string"
}
}
]
}
Item | Type | Description | Note |
---|---|---|---|
id | number | SourceBuild project ID | |
name | string | Name of SourceBuild project | |
source.type | string | source type | "SourceCommit" | "GitHub" | "BitBucket" |
source.repository | string | Repository name | |
source.branch | string | Branch name | |
source.workspace.id | number | Bitbucket workspace ID | |
source.workspace.name | string | Bitbucket repository name |
Was this article helpful?