Apps

Get the npm audit report

Changed on

Returns the npm audit report from the app's latest build. A report exists only for node apps deployed with platformConfig.npmAudit set to true. Team permission: deploy, operate or manage.

get/v1/projects/{projectID}/npm-audit-report

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/{projectID}/npm-audit-report
  • Auth
    HTTP bearer

Path parameters

projectIDstring required

24-character hexadecimal ID.

The app's ID (_id).

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

Response

The report, as produced by npm audit --json.

reportobject

Changes