List and retrieve diffs with detailed revision information

GET /v1/diff/1075289/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1075289,
    "revision": {
        "id": 488475,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9feb2653d7514fc7c7ee8b7644cc3e6f8e73087f",
        "head_changeset": "da4c78e0a32028c50e90e03a20442db729e96d37",
        "phabricator_id": 255521,
        "phabricator_phid": "PHID-DREV-6w2nlm4lexb7fevqufuc",
        "title": "WIP: Bug 1971158 - Do not run our Sprintf Literal Checker clang plugin on third party code.",
        "bugzilla_id": 1971158,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488475/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488475/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255521"
    },
    "phid": "PHID-DIFF-kfsyn7k6s75wfjgqf5zx",
    "review_task_id": "W_qo8ZHYSD6nVeaDSA8FQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "da4c78e0a32028c50e90e03a20442db729e96d37",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075289/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T16:54:36.388375Z"
}