List and retrieve diffs with detailed revision information

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

{
    "id": 1054471,
    "revision": {
        "id": 477710,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "234955ac84b9e87eb6db4c62158f4cf08f94084c",
        "head_changeset": "0c7800b89056e3c5d74d12482f82e35b31cc8c30",
        "phabricator_id": 252855,
        "phabricator_phid": "PHID-DREV-nbgsfrxpo4lppviryzjb",
        "title": "WIP: Bug 1970647 - Add checkboxes to ETP Strict and Custom sections in about:preferences#privacy. r?#anti-tracking",
        "bugzilla_id": 1970647,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477710/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477710/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252855"
    },
    "phid": "PHID-DIFF-rtlb64ls5xmbqzsbuq52",
    "review_task_id": "MbMYPQvWSLWYPRVZJ4_a5Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e617aba1d144545936e322a549cf38ead32ab1a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054471/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T17:54:33.509156Z"
}