git.security.get-dependency-fixThe last fix pull request asked for, and the open ones
Request syntax
GET /git/api/repositories/{repoId}/security/dependency-alerts/fixPath parameters
repoIdRequiredstring
Constraints: uuid
Response
200 with `last` (status, error, prNumber, startedAt, finishedAt, or null if none was asked for) and `openPullRequests` (number, title, sourceBranch).
A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.
Fields of data
lastAlwaysobject, may be null
The last fix asked for; null if none waslast.statusAlwaysone of running, succeeded, failed
Where the fix islast.errorAlwaysstring, may be null
Why it failed; null otherwiselast.prNumberAlwaysnumber, may be null
The pull request it opened; null while running or when it failedlast.startedAtAlwaysstring
When it was asked for (ISO 8601)last.finishedAtAlwaysstring, may be null
When it finished (ISO 8601); null while runningopenPullRequestsAlwaysarray of object
Fix pull requests still openopenPullRequests[].numberAlwaysnumber
The pull request numberopenPullRequests[].titleAlwaysstring
Its titleopenPullRequests[].sourceBranchAlwaysstring
Its branch, under ews/deps/
Checked against the handlers: every route test validates their answers against this schema.
Errors
- 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
- 401No credentials, or an access key that is unknown, revoked or expired.
- 403The caller's policies do not allow git:ListSecurityAlerts on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
- 404The resource does not exist in your organization.
Examples
The required parameters only, with example values. Replace id and the other placeholders with your own.
dcloud git security get-dependency-fix repoIdcurl -X GET "https://console.platform-development.deutschecloud.app/git/api/repositories/repoId/security/dependency-alerts/fix" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_git_security_get-dependency-fix.