List and retrieve diffs with detailed revision information

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

{
    "id": 1108813,
    "revision": {
        "id": 516098,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1670f9977c4447d4e06aa9f3ca6210e5c6eaef00",
        "head_changeset": "82fd180b59da249c047361e098068fbf17efd8e9",
        "phabricator_id": 261714,
        "phabricator_phid": "PHID-DREV-grfrbeooahrydpeeypqv",
        "title": "Bug 1983317 - Add link to the bug to the metadata for webdriver/tests/bidi/browsing_context/close/prompt_unload.py test.",
        "bugzilla_id": 1983317,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516098/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516098/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261714"
    },
    "phid": "PHID-DIFF-qbxrirvi5dmsotbsbp23",
    "review_task_id": "Pj2Arcp1SO-YJ8M5dw5hgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa853a992b16ea8df8fe2a6c1b545d248133ddcc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108813/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T16:51:20.162993Z"
}