List and retrieve diffs with detailed revision information

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

{
    "id": 1081937,
    "revision": {
        "id": 494374,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b5400a1076af4f24a315a298a4c8b82f5b04b3e7",
        "head_changeset": "bff7fdaaa64483000bb93de2fdfaa73508600d38",
        "phabricator_id": 257075,
        "phabricator_phid": "PHID-DREV-djpww7rotrw5swrlhn6j",
        "title": "Bug 1976619 - Remove overridden disabled styles for moz-label in sidebar-customize.css to improve visibility of disabled options",
        "bugzilla_id": 1976619,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494374/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494374/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257075"
    },
    "phid": "PHID-DIFF-y45cjy2wzr3enkhipp5d",
    "review_task_id": "V4cybzOuS-Gpwco85BLUdw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bff7fdaaa64483000bb93de2fdfaa73508600d38",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081937/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T22:27:53.428001Z"
}