List and retrieve diffs with detailed revision information

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

{
    "id": 1114084,
    "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-cco3xhiemn4mhpyranfq",
    "review_task_id": "XlqyU0C4SleI8hTARD1umA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "677390c650f46e1da7672cc1b742fc84d92acba6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114084/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T05:12:34.831129Z"
}