List and retrieve diffs with detailed revision information

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

{
    "id": 1052053,
    "revision": {
        "id": 477271,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "964b74547e49f173c01dd9b770c0acdc5bb2cc3d",
        "head_changeset": "272b09ccac1c47bc023e0c113d97f676c0a202a5",
        "phabricator_id": 252364,
        "phabricator_phid": "PHID-DREV-xoiqoypjwvcfupuhw25d",
        "title": "Bug 1967505 - Make quicksuggest tests resilient against context IDs not having braces. r?adw!",
        "bugzilla_id": 1967505,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477271/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477271/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252364"
    },
    "phid": "PHID-DIFF-iz7hs25732a26c3foyb5",
    "review_task_id": "PdfGXOIFSrakhcNUh2T22A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cd98981dbbe86a6e0ef14f018c23c21c86e92306",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052053/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T17:33:58.169354Z"
}