List and retrieve diffs with detailed revision information

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

{
    "id": 1056705,
    "revision": {
        "id": 477987,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d46051f6a71b671e082bd704f01f03f0d00de518",
        "head_changeset": "e42367308f768e8fc0f2964760e00e6a0c582acf",
        "phabricator_id": 253160,
        "phabricator_phid": "PHID-DREV-mbo4qhc46tm73un26yu4",
        "title": "Bug 1971301 - Update runtime locales, metrics and pings for 140 beta train-hop experiment. r?pdahiya!",
        "bugzilla_id": 1971301,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477987/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477987/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253160"
    },
    "phid": "PHID-DIFF-wht2q7gpqztdif7pg3vy",
    "review_task_id": "OG6NfOhiRk-0bxhg1hj7Jw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7f73cfe8950e00008ce6e05d59bf120290446621",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056705/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T13:38:57.790832Z"
}