List and retrieve diffs with detailed revision information

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

{
    "id": 1079701,
    "revision": {
        "id": 476457,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc29b20e4a319f6f225a21a240d9be1abb81371a",
        "head_changeset": "c950279aaa421899ea52acf30c865ecf6a9ad898",
        "phabricator_id": 251393,
        "phabricator_phid": "PHID-DREV-4aceolqbqxf7lw6jcxzs",
        "title": "WIP: Bug 901050 - Part 2: Add mach port watching support to the IO thread, r=#ipc-reviewers!",
        "bugzilla_id": 901050,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476457/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476457/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251393"
    },
    "phid": "PHID-DIFF-bxnipxwqwq6xkwxjzt6d",
    "review_task_id": "QKESCfhIQBS0B-fDrnafbg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3b190a2554fd840f66fce54764606c2184861aa4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079701/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T19:21:02.482596Z"
}