List and retrieve diffs with detailed revision information

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

{
    "id": 1055974,
    "revision": {
        "id": 477996,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "56dabce61b8a6587d7af3975c93d0d751ff1da22",
        "head_changeset": "bdadb7bde9b4ac09d65ba16dffdc9069dece1932",
        "phabricator_id": 253169,
        "phabricator_phid": "PHID-DREV-epo4z4u5awedon53uriq",
        "title": "Bug 1970936 - Disable logic to hide account hub close button when no accounts exist. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1970936,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477996/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477996/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253169"
    },
    "phid": "PHID-DIFF-ehyn2iiro556jqzpquab",
    "review_task_id": "EiUogremQAaaRGg3U_lcDw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "731d93d9fb4b30bd59ee3482e5427d89edb2e5be",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055974/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T15:10:32.731815Z"
}