How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Socket diff-scans API

The diff-scans API from Socket — 7 operation(s) for diff-scans.

Socket diff-scans API is one of 20 APIs that Socket publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include diff-scans. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 8 operations across 7 paths, and defines 22 schemas. It is described by OpenAPI 3.2.0, at version 0.

Requests are made against a single base URL, https://api.socket.dev/v0.

8 operations 7 paths 22 schemas 1 DELETE4 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0
Base URL
https://api.socket.dev/v0
Authentication
HTTP Bearer, HTTP Basic
Resource Areas
1

Authentication & Security 2

Socket diff-scans API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP basic authentication (basicAuth).

  • bearerAuth — Organization Tokens can be passed as a Bearer token
  • basicAuth — Organization Tokens can be passed as the user field in basic auth

Paths & Operations 8

Across 7 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

diff-scans 8
GET
/orgs/{org_slug}/diff-scans
List diff scans
listOrgDiffScans 8 params → 200400401403404429
GET
/orgs/{org_slug}/diff-scans/{diff_scan_id}
Get diff scan
getDiffScanById 5 params → 200202400401403404429
DELETE
/orgs/{org_slug}/diff-scans/{diff_scan_id}
Delete diff scan
deleteOrgDiffScan 2 params → 200400401403404429
GET
/orgs/{org_slug}/diff-scans/{diff_scan_id}/gfm
SCM Comment for Diff Scan
GetDiffScanGfm 3 params → 200400401403404429
POST
/orgs/{org_slug}/diff-scans/from-repo/{repo_slug}
Create diff scan from repository HEAD full-scan
createOrgRepoDiff 13 params body → 201400401403404409429
POST
/orgs/{org_slug}/diff-scans/from-ids
Create diff scan from full scan IDs
createOrgDiffScanFromIds 7 params → 201302400401403404409429
GET
/orgs/{org_slug}/supported-files
Get supported file types
getSupportedFiles 1 param → 200400404429
POST
/alert-types
Alert Types Metadata
alertTypes 1 param body → 200400

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are SocketAlert (15 properties), SocketArtifactLink (10 properties), Capabilities (7 properties), ReachabilityResultItem (6 properties). Each schema is shown below with its type and property counts.

CallStackItem
object
3 properties
SocketAlert
object
15 properties 2 required
Capabilities
object
7 properties 7 required
SocketDiffArtifact
SocketArtifactLink
object
10 properties
SourceLocation
object
4 properties 4 required
SocketManifestReference
object
3 properties 1 required
SocketId
string
ReachabilityResultItem
object
6 properties 1 required
ReachabilityResult
object
2 properties 2 required
ReachabilityType
string
Status of reachability analysis for vulnerable code paths
SAttrib1_N
array
SocketPURL_Type
string
Package ecosystem type identifier based on the PURL specification
SocketCategory
string
Qualifiers
SocketScore
object
6 properties 6 required
LicenseDetails
array
SocketIssueSeverity
string
SocketPatch
object
3 properties 2 required
SocketPURL
object
6 properties 1 required
SocketDiffArtifactType
string
Type of change detected for this artifact in the diff
ClassStackItem
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

socket-diff-scans-api-openapi.yml Raw ↑

Other APIs Socket publishes across the network.

Socket alerts API
Socket api-tokens API
Socket audit-log API
Socket dependencies API
Socket deprecated API
Socket fixes API
Socket full-scans API
Socket license-policy API
Socket metadata API
Socket org-settings API
Socket org-snapshots API
Socket packages API
Where this information came from

This is an independent, third-party profile of Socket diff-scans API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.