List and retrieve diffs with detailed revision information

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

{
    "id": 1049183,
    "revision": {
        "id": 473244,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "55411e761ba0d4a9b16971b98f5a53a850c3cae9",
        "head_changeset": "267611fa60ee02f96e82bcc1bab0a71a7ddee835",
        "phabricator_id": 246417,
        "phabricator_phid": "PHID-DREV-tecm247ot5env3kmgosz",
        "title": "WIP: Bug 259356 - Update gtests for nsXREDirProvider with XDG handling support",
        "bugzilla_id": 259356,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473244/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473244/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246417"
    },
    "phid": "PHID-DIFF-hlypxgxvc3rc6ueglbox",
    "review_task_id": "JpEeK8H2Qv2gCbUfSh03jg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bd36a71bb2b84e83896cdff8c31a68e3ff8bf670",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049183/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T13:16:08.040910Z"
}