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

Create diff scan from full scan IDs
DocumentationAPI Reference
Create diff scan from full scan IDs
JUMP TO
API Endpoints

Create diff scan from full scan IDs

Copy Page

Create a diff scan from two existing full scan IDs. The full scans must be in the same repository.
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.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:

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

200

The existing diff scan when on_duplicate=update is set and a duplicate is detected. If external_href was supplied, it has been applied to the diff scan.

201

The details of the created diff scan.

302

Redirects to the existing diff scan when on_duplicate=redirect is set and a duplicate is detected.

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
200201302400401403404409429

Web Proxy Viewer  |  New URL  |  Original Page