deprecated

Create a snapshot of all dependencies from manifest information

This endpoint is deprecated.

Upload a set of manifest or lockfiles to get your dependency tree 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: "requirements.txt", "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
post/dependencies/upload

Request

  • Base URL
    https://api.socket.dev/v0
  • URL
    https://api.socket.dev/v0/dependencies/upload
  • Auth
    • HTTP bearer
    • or HTTP basic

Query parameters

repositorystring
branchstring

Request body multipart/form-data

repositorystring
branchstring

Response

ID of the dependencies snapshot

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.