List and retrieve diffs with detailed revision information

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

{
    "id": 1111397,
    "revision": {
        "id": 508712,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2d8353914a6b1e3e35b8dcc01d02ed00b7eab2b7",
        "head_changeset": "7976a0d21bed21f2ab2b7aa5f68701fb3e080273",
        "phabricator_id": 260407,
        "phabricator_phid": "PHID-DREV-uhjyqzpkek57oepn2zan",
        "title": "WIP: Bug 1931482 - A mochitest.",
        "bugzilla_id": 1931482,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508712/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508712/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260407"
    },
    "phid": "PHID-DIFF-a7ra4eaufffrb74gh72t",
    "review_task_id": "cthY94EZR1CYPfwvjU9TCw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "49543c9c068e8faaa1aa4b9fc8234cfc414ef37a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111397/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T21:04:13.029120Z"
}