Repository
Operation | Http Method | End Point |
Get Branches | GET | /repositories/{projectId}/branches |
Get Default Branch | GET | /repositories/{projectId}/default-branch |
Set Default Branch | POST | /repositories/{projectId}/default-branch |
Get Branch | GET | /repositories/{projectId}/branches/{branch:.*} |
Create Branch | POST | /repositories/{projectId}/branches |
Delete Branch | DELETE | /repositories/{projectId}/branches/{branch:.*} |
Get Tags | GET | /repositories/{projectId}/tags |
Get Tag | GET | /repositories/{projectId}/tags/{tag:.*} |
Create Tag | POST | /repositories/{projectId}/tags |
Delete Tag | DELETE | /repositories/{projectId}/tags/{tag:.*} |
Query Commits | GET | /repositories/{projectId}/commits |
Get Commit | GET | /repositories/{projectId}/commits/{commitHash} |
Get Directory | GET | /repositories/{projectId}/directories/{revisionAndDirectory:.*} |
Get File | GET | /repositories/{projectId}/files/{revisionAndFile:.*} |
Edit File | POST | /repositories/{projectId}/files/{branchAndFile:.*} |