put deprecatedhttps://api.socket.dev/v0/report/upload
This endpoint is deprecated. See deprecation documentation for more information. Use the successor version instead.
Deprecated: Use /orgs/{org_slug}/full-scans
instead.
Upload a lockfile to get your project analyzed by Socket.
You can upload multiple lockfiles in the same request, but each filename must be unique.
The name of the file must be in the supported list.
For example, these are valid filenames: package.json
, folder/package.json
and deep/nested/folder/package.json
.
This endpoint consumes 100 units of your quota.
This endpoint requires the following org token scopes:
- report:write