List and retrieve diffs with detailed revision information

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

{
    "id": 1050485,
    "revision": {
        "id": 476583,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3cbce73b49925388fcbcb2a9fc2c016802e6fb01",
        "head_changeset": "33519c1d4e1f62dbf67287c29b36241fc16aef92",
        "phabricator_id": 251524,
        "phabricator_phid": "PHID-DREV-hfydntsigoqpeu7xpdbb",
        "title": "Bug 1968916 - Use moz-input-search in about:addons. r=#extension-reviewers,tgiles",
        "bugzilla_id": 1968916,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476583/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476583/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251524"
    },
    "phid": "PHID-DIFF-bkqfnbxh75aqfp5c3nyp",
    "review_task_id": "VWr59rc-SnOSwAwtsGwSkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "181604a058714e06b791c601ec71b4b427f5e453",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050485/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T17:11:05.040362Z"
}