List and retrieve diffs with detailed revision information

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

{
    "id": 1099860,
    "revision": {
        "id": 504840,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d34398f3889876cdcd3766561306d4e49e29ddf4",
        "head_changeset": "2b60554f821df8e6a155e5f020786c8b01720edb",
        "phabricator_id": 259484,
        "phabricator_phid": "PHID-DREV-bjyzbqcdmna34me5hutr",
        "title": "Revert \"Bug 1971371 - Part 1: Don't lock PBM when the app has focus\"",
        "bugzilla_id": 1971371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504840/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504840/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259484"
    },
    "phid": "PHID-DIFF-z2t5iq55iydedzzrtdz2",
    "review_task_id": "NkPZVzeeSf-oDQsX4wMt4g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3be79a47d59726ca83dbf9ae727bb36cfd8eec4d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099860/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T22:15:00.444392Z"
}