List and retrieve diffs with detailed revision information

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

{
    "id": 1113578,
    "revision": {
        "id": 517927,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4deff26eefdabe3566a27fd282d4da667c76a0d9",
        "head_changeset": "02e1b19664e45808b1cd3c39e2c9c210e887e501",
        "phabricator_id": 262091,
        "phabricator_phid": "PHID-DREV-nxjaj4vfi6f6tzqyfwrq",
        "title": "Bug 1286945 - Update crop-and-scale WPT to differentiate captures that happen to be native vs downscaling actually in effect. r?jib",
        "bugzilla_id": 1286945,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517927/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517927/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262091"
    },
    "phid": "PHID-DIFF-hknz65eh5k6j37elyi5c",
    "review_task_id": "aRnviKkzTtSldHvIV7KH3Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5c88fbd967bcec8db34177d9de82412214ab315d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113578/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-28T14:32:29.203085Z"
}