List and retrieve diffs with detailed revision information

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

{
    "id": 1107814,
    "revision": {
        "id": 515460,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ec13e888ae558e7e372bd55e0a3ffc6c707f93b",
        "head_changeset": "cc5ab098dc8c08ae12a4213b047d1685c2eb88d6",
        "phabricator_id": 261573,
        "phabricator_phid": "PHID-DREV-ofriorgnsziqy7arcskt",
        "title": "Bug 1983727 - Fix failures in test_google.js when run on ESR. r?mbeier!",
        "bugzilla_id": 1983727,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515460/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515460/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261573"
    },
    "phid": "PHID-DIFF-7prsapheyrf3ioky7nba",
    "review_task_id": "Kvaa9Nj3T_Se7rLqVG-Ztg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cc5ab098dc8c08ae12a4213b047d1685c2eb88d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107814/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T14:53:13.472554Z"
}