deprecated
Create a report
This endpoint is deprecated. 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
put/report/upload
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/report/upload
- Auth
- HTTP bearer
- or HTTP basic
Query parameters
workspacestring
The workspace of the repository to associate the full-scan with.
Request body multipart/form-data
Response
ID and URL of the project report
Changes
No recorded changes to this operation across all 2 revisions of this API.