List and retrieve diffs with detailed revision information

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

{
    "id": 1104112,
    "revision": {
        "id": 510566,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8a8028addc8ef776b6f2ce3ec7c88b1093ba706",
        "head_changeset": "208478610e7a6903cb0602812df9c39e49e8a60c",
        "phabricator_id": 260680,
        "phabricator_phid": "PHID-DREV-f7ccgypb4ufa3ry7qait",
        "title": "Bug 1574471 - [devtools] Rename confusing isUsed/unused method/variable name for inactive CSS feature. r=#devtools.",
        "bugzilla_id": 1574471,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510566/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510566/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260680"
    },
    "phid": "PHID-DIFF-4wkhcx7x6frpzqr2q72v",
    "review_task_id": "ShZ5scoISdqcgNdmU8RWrg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4e92278266ab268f40e85dfb6c82a05b41676b5d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104112/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T14:02:08.997434Z"
}