List and retrieve diffs with detailed revision information

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

{
    "id": 1072642,
    "revision": {
        "id": 485362,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "81a2242c6fc2b16833197335da270809c5c7ce1b",
        "head_changeset": "e5e854d0e1cc1378674a23f6b412e27370053cce",
        "phabricator_id": 254998,
        "phabricator_phid": "PHID-DREV-hooc2e4qsvhtq5c77fhp",
        "title": "Bug 1974007 - Block the ProfilesDatastoreService shutdown blocker instead of Sqlite r?#nimbus-reviewers",
        "bugzilla_id": 1974007,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485362/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485362/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254998"
    },
    "phid": "PHID-DIFF-6rrwdv3w2p4kxylkj2cu",
    "review_task_id": "A9Ry3Jn3RHW8X53DSg1YJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c0aca6be03510210fc92e502700a005b5671807",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072642/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T19:24:17.870918Z"
}