---
title: "SCM Comment for Scan Diff"
method: GET
path: "/orgs/{org_slug}/full-scans/diff/gfm"
tags: ["deprecated"]
deprecated: true
---

# SCM Comment for Scan Diff

`GET /orgs/{org_slug}/full-scans/diff/gfm`

> **Deprecated.**

**This endpoint is deprecated.**

Get the dependency overview and dependency alert comments in GitHub flavored markdown between the diff between two existing full scans.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:
- full-scans:list

## Path parameters

- `org_slug` string, required

## Query parameters

- `after` string, required
- `before` string, required
- `github_installation_id` string

## Response `200`

Metadata about the full scans and the dependency overview and dependency alert comment. Can be used in a pull request context.

- object
  - `before` object, required
    - `id` string, required
    - `created_at` string, required
    - `updated_at` string, required
    - `organization_id` string, required
    - `organization_slug` string, required
    - `repository_id` string, required
    - `repository_slug` string, required
    - `branch` string, nullable, required
    - `commit_message` string, nullable, required
    - `commit_hash` string, nullable, required
    - `pull_request` integer, nullable, required
    - `committers` string[], required
    - `html_url` string, nullable, required
    - `api_url` string, nullable, required
  - `after` object, required
    - `id` string, required
    - `created_at` string, required
    - `updated_at` string, required
    - `organization_id` string, required
    - `organization_slug` string, required
    - `repository_id` string, required
    - `repository_slug` string, required
    - `branch` string, nullable, required
    - `commit_message` string, nullable, required
    - `commit_hash` string, nullable, required
    - `pull_request` integer, nullable, required
    - `committers` string[], required
    - `html_url` string, nullable, required
    - `api_url` string, nullable, required
  - `comments` object, required
    - `overview` string, required
    - `alerts` string, required
  - `incomplete` boolean, required — True when either side of the diff was truncated at the plan's dependency limit. When set, the comments contain a limit-exceeded notice instead of a report rendered from the imbalanced diff.
  - `directDependenciesChanged` boolean, required
  - `diff_report_url` string, nullable, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route

---

[API](https://skmtc.dev/socket-dev/apis/socket.md) · [All operations](https://skmtc.dev/socket-dev/apis/socket/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socket-dev/socket/revisions/bf994b75d33f/schema)
