List and retrieve diffs with detailed revision information

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

{
    "id": 1073979,
    "revision": {
        "id": 486181,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8fdd4e7a1acc9b578b64660ab63d1c6199bdf89",
        "head_changeset": "4c979da92c6cf84b4ad96077b050e77f094c4a64",
        "phabricator_id": 255240,
        "phabricator_phid": "PHID-DREV-shyztetibjzqvbzowsc7",
        "title": "Bug 1974356 - Replace SpecialSystemDirectory usage of `SHGetSpecialFolderPathW` with `SHGetKnownFolderPath`. r=emk,#win-reviewers",
        "bugzilla_id": 1974356,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486181/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486181/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255240"
    },
    "phid": "PHID-DIFF-o4x5ekuweysvqdsbozyk",
    "review_task_id": "OChBhRJCSkqFl8UEhHAYBw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4c979da92c6cf84b4ad96077b050e77f094c4a64",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073979/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T02:16:42.958703Z"
}