repository list
- Print
- PDF
repository list
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Gets the list of repositories.
Request
API URL
GET {SOURCECOMMIT_API_URL}/repository
Request parameter
None
Request query
Item | Type | Requirement status | default | Description | Remarks |
---|---|---|---|---|---|
pageNo | string | N | 1 | Page number | Starts from 1 |
pageSize | string | N | 100 | Page size | |
repositoryName | string | N | Name of repository to search |
Request body
None
Response
Response body
{
"total": "number",
"repository": [{
"id": "number",
"name": "string",
"permission": "string",
"actionName": "string"
}]
}
Item | Type | Description | Remarks |
---|---|---|---|
total | number | Number of repositories | |
repository[].id | number | Repository ID | |
repository[].name | string | Repository name | |
repository[].permission | string | Permission status for viewing details | "Allow" | "Deny" |
repository[].actionName | string | Permission name for viewing details |
Was this article helpful?