CodeScanResults

create code_scan_result

Changed on

Creates a new code scan result for the specified app.

post/apps/{app_id}/code_scan_results

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

app_idinteger required

app_id

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Request body

operationinteger

Alternate name for operation_id

operation_idinteger required
dockerfile_presentboolean
procfile_presentboolean
aptible_yml_presentboolean
git_refstring required
git_commitstring required

Response

successful

idinteger required
dockerfile_presentboolean required
procfile_presentboolean required
aptible_yml_presentboolean required
_typestring required
created_atstring dateTime required
updated_atstring dateTime required

Changes

    • info

      added the new optional header request parameter Prefer

    • info

      added the new optional query request parameter no_embed