List and retrieve diffs with detailed revision information

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

{
    "id": 1087952,
    "revision": {
        "id": 488105,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc1c243f0632e0c04ab5e2d74e9c44dc766341cb",
        "head_changeset": "186b1b9ccabcd881f7b69e7cc5b7610b45d6e78e",
        "phabricator_id": 255450,
        "phabricator_phid": "PHID-DREV-h2ehjbrnacwe6cot7tc7",
        "title": "Bug 1820594 - Part 33: Update choice-of-error-1.html.ini and error-type-1.html.ini failed as expected.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488105/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488105/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255450"
    },
    "phid": "PHID-DIFF-blokv2kthbjdgwmdmico",
    "review_task_id": "dK9uoGOoToKdkmMFjpr8zA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d717f24d614f3fcb95e8b5fdeba6141f0298bb5b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087952/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T11:31:43.340685Z"
}