List and retrieve diffs with detailed revision information

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

{
    "id": 1113599,
    "revision": {
        "id": 495076,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4d1d20e45202f22b48f937639f255df6c93e6434",
        "head_changeset": "37f6e8ed00cae71d9581b66a315dbdff42dd4959",
        "phabricator_id": 257147,
        "phabricator_phid": "PHID-DREV-gpjllsztbfm3mls4p2xf",
        "title": "Bug 1968722 - Storage-Access-Headers: Set Request header with storage-access state and frame activation",
        "bugzilla_id": 1968722,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495076/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495076/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257147"
    },
    "phid": "PHID-DIFF-sygec33bbtwxxou7onlu",
    "review_task_id": "VWCxXipYSoiO-qmzHgGEgA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff1a8215a55cd29b76b7d4e78d7485e5c7daf23d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113599/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-28T14:39:37.816215Z"
}