List and retrieve diffs with detailed revision information

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

{
    "id": 1076029,
    "revision": {
        "id": 488109,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9bfce4284d43f219246acf05c2829e4163ea8a86",
        "head_changeset": "b780327f7c366b043b7bf394eed5d21ccc9b510d",
        "phabricator_id": 255456,
        "phabricator_phid": "PHID-DREV-h4tjywkafhp5yw4yuwlx",
        "title": "Bug 1974683 - Fix TV failures in browser_searchbar_keyboard_navigation.js relating to not waiting for the search one-offs to rebuiled. r?mbeier!",
        "bugzilla_id": 1974683,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488109/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488109/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255456"
    },
    "phid": "PHID-DIFF-fvrflm6tp7yeqhyvut4c",
    "review_task_id": "T83BHHklTHO5pcF19t2FRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58fc06e5c043fdf4af9fcfeb7bc21ffb931f7852",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076029/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T14:40:12.567449Z"
}