List and retrieve diffs with detailed revision information

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

{
    "id": 1107709,
    "revision": {
        "id": 515231,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "ed240ae8f29e0245e582abcfed7c9e08a060c94f",
        "phabricator_id": 261543,
        "phabricator_phid": "PHID-DREV-fo5vnz6z6oqhf37ppd2c",
        "title": "Bug 1983761 - Specialize rust flags when compiling dumpsyms r=glandium",
        "bugzilla_id": 1983761,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515231/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515231/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261543"
    },
    "phid": "PHID-DIFF-z7io3pc3br3xju43earz",
    "review_task_id": "Jm319KT0QmiYM1he6r3x-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed240ae8f29e0245e582abcfed7c9e08a060c94f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107709/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T11:24:52.793435Z"
}