Set repository importance score
POST/api/v1/vcs-repository/repositories/importance-score/set
Set a custom importance score for a repository, reflecting the repository’s relative security criticality. The HTTP status code 204 is returned to indicate that the repository score data for the requested repositories was updated successfully.
Request
- application/json
Body
required
repositoryId stringrequired
customRepositoryScore doublenullablerequired
User-defined repository score. Provide an integer from 1 (lowest importance) to 10 (highest importance) to indicate the relative importance of the repository as per your requirements. This value overrides the system-calculated importance score.
customComment stringnullable
Responses
- 204
- 400
- 401
Maximum 5000 repositories can be updated within a single request
Unauthorized repositoryIds
Loading...