List and retrieve diffs with detailed revision information

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

{
    "id": 1112369,
    "revision": {
        "id": 500859,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e52362f000f57f4bd42fc3baf4dfff7f2915448e",
        "head_changeset": "142036756b1024d929a55b3752bdeb20f07602b6",
        "phabricator_id": 258162,
        "phabricator_phid": "PHID-DREV-jhvxgggar5abltga6hvn",
        "title": "Bug 1978494: Read and write of per-origin compression dictionary cache entries/metadata r=#necko-reviewers!",
        "bugzilla_id": 1978494,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500859/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500859/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258162"
    },
    "phid": "PHID-DIFF-4abpfejv2rzvuxr3ljmo",
    "review_task_id": "UKoGtmScTBup0rQv7T8I4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5cda6a013efc60abce6c54946d25605725530813",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112369/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:15:45.573247Z"
}