List and retrieve diffs with detailed revision information

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

{
    "id": 1100824,
    "revision": {
        "id": 506648,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "199fa54ffcc3a586c2d7a4cd3e39d76cc5502b43",
        "head_changeset": "490c9f7aedd49732f7f86994cfa4b94c1f72337f",
        "phabricator_id": 259931,
        "phabricator_phid": "PHID-DREV-cpikuwcckrvv5oykifz5",
        "title": "Bug 1981090 - Implement functions to get GSettings values. r=babolivier",
        "bugzilla_id": 1981090,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506648/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506648/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259931"
    },
    "phid": "PHID-DIFF-5kb5bfe5ckswlkvvhcdi",
    "review_task_id": "K_KvMawFTNGJ_jHz-imyIw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "490c9f7aedd49732f7f86994cfa4b94c1f72337f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1100824/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T09:30:50.558581Z"
}