List and retrieve diffs with detailed revision information

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

{
    "id": 1118551,
    "revision": {
        "id": 514757,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "26a4b3bbf1f2411870927b34a12ecbd0b0f51bda",
        "head_changeset": "903ca0131e5c4c50a0f1f9a5d7cc79ef99c0b4ac",
        "phabricator_id": 261472,
        "phabricator_phid": "PHID-DREV-mip5h4ctvytcewl5ofxg",
        "title": "WIP: Bug 1983652 - Part 1: Desktop UI updates for ETP Strict Exceptions Options r?#anti-tracking!",
        "bugzilla_id": 1983652,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514757/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514757/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261472"
    },
    "phid": "PHID-DIFF-bom4d3hdqznycjs2f7bw",
    "review_task_id": "CyUc9c8kQu-GjThGRO_kKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cec08f2294163364542c674fff805811943a81e4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1118551/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-08T13:45:36.691723Z"
}