[ Web Proxy ]
URL:
Viewing: https://docs.socket.dev/reference/createorgrepodiff [Back]  [Original]

Create diff scan from repository HEAD full-scan
DocumentationAPI Reference
Create diff scan from repository HEAD full-scan
JUMP TO
API Endpoints

Create diff scan from repository HEAD full-scan

Copy Page

Create a diff scan between the repository's current HEAD full scan and a new full scan from uploaded manifest files.
Returns metadata about the diff scan. Once the diff scan is created, fetch the diff scan from
the api_url URL to get the contents of the diff.

The maximum number of files you can upload at a time is 10000 and each file can be no bigger than 268 MB.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:

  • repo:list
  • diff-scans:create
  • full-scans:create
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests
LoadingLoading
:
:
:
:
:
:
:
:
:
:
:
Responses

201

The details of the new full scan and diff scan between the two scans.

400

Bad request

401

Unauthorized

403

Insufficient max_quota for API method

404

Resource not found

409

Resource already exists

429

Insufficient quota for API route

Language
ShellNodeRubyPHPPython
Credentials
LoadingLoading
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
201400401403404409429

Web Proxy Viewer  |  New URL  |  Original Page