List and retrieve diffs with detailed revision information

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

{
    "id": 1055973,
    "revision": {
        "id": 478006,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7083d7f5b35cf0f2b7be50a88d7ae32b8449771a",
        "head_changeset": "8bf5d16b9be60561cedb5196119a3e1caceb5e7e",
        "phabricator_id": 253180,
        "phabricator_phid": "PHID-DREV-xylqrbpnhtphwzyjwncy",
        "title": "Bug 1971168 - Wait for cache update in mac aria-current test. r?morgan",
        "bugzilla_id": 1971168,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478006/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478006/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253180"
    },
    "phid": "PHID-DIFF-4xlo7iiyxfm373bx6ldw",
    "review_task_id": "CQlMAOMRS1C6Bmw3WTGfEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8bf5d16b9be60561cedb5196119a3e1caceb5e7e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055973/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T15:10:34.864453Z"
}