New APIs
The following new REST APIs were added in this release:
Resource |
API Name/Endpoint |
Method |
Description |
CodebaseFolder |
Mark folder as reviewed/unreviewed /codebaseFolder/{folderId}/review |
PUT |
Marks all codebase files in the specified folder as reviewed or unreviewed. |
Files |
Mark file reviewed/unreviewed /files/{fileId}/review |
PUT |
Marks the specified codebase file as reviewed or unreviewed. |
sourceCode |
scmInstances /scmInstances |
GET |
Retrieves details for the currently defined SCM instances in the project. You can view all defined instances, all defined instances of a specific type (Git, Perforce, Subversion, or TFS), or a specific defined instance. (In the details for a given instance, the password value used to connect to the SCM repository is masked with asterisks.) |
POST |
For a specific SCM instance in a given project, tests the connection between the instance and the actual remote repository that is synchronized to the instance. |
||
DELETE |
Deletes a specific SCM instance in a given project. |
||
[Git| Perforce | Subversion | TFS] scmInstances /scmInstances/[Git|Perforce|Subversion|TFS] |
POST |
Creates a new SCM instance of the specified type (Git, Perforce, Subversion, or TFS) for a given project. Note:The instance ID for the first SCM instance of a given type in a project starts with 0 and increments with each added instance of that type (or is renumbered when an instance is deleted). This ID-numbering system is not in sync with the system used in the Code Insight Web UI. When managing instances through the REST interface, always use the IDs generated by the APIs. |
|
PUT |
Updates property values in an SCM instance definition. |