Link code project to a target, maximum is 20 per target
POST/targets/:target_id/integrations/snyk-sast/code-projects/
Request
Path Parameters
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
required
A unique Base58 value identifying this object.
A unique Base58 value identifying this object.
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Body
required
A unique Base58 value identifying this object.
A unique Base58 value identifying this object.
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Body
required
A unique Base58 value identifying this object.
A unique Base58 value identifying this object.
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Responses
- 201
- 400
- 401
- 403
- 500
- application/json
- Schema
- Example (from schema)
Schema
A unique Base58 value identifying this object.
A unique Base58 value identifying this object.
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
{
"id": "string",
"scope": "string",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"project_name": "string",
"target_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target_name": "string",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_name": "string",
"target_file": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Invalid JWT."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "You do not have permission to perform this action."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}