| [ Web Proxy ] |
| Viewing: https://docs.socket.dev/reference/createorgdiffscanfromids | [Back] [Original] |
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:
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests | |||
200The 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.
201The details of the created diff scan.
302Redirects to the existing diff scan when on_duplicate=redirect is set and a duplicate is detected.
400Bad request
401Unauthorized
403Insufficient max_quota for API method
404Resource not found
409Resource already exists
429Insufficient quota for API route
LoadingLoading
Try It! to start a request and see the response here! Or choose an example:| Web Proxy Viewer | New URL | Original Page |