List and retrieve diffs with detailed revision information

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

{
    "id": 1073812,
    "revision": {
        "id": 485699,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3a37ea2e5908e49276cf5b5c2fa53b597b1009f0",
        "head_changeset": "7c437c35a04a31bb46c7feed97eb720a40cb0aaa",
        "phabricator_id": 255084,
        "phabricator_phid": "PHID-DREV-2llks3x74p2ytk6l7f5e",
        "title": "Bug 1974156 - Use macos SDK 15.5 instead of 15.4 which is no longer available",
        "bugzilla_id": 1974156,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485699/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485699/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255084"
    },
    "phid": "PHID-DIFF-xw3wzcqyqx3v72qjljip",
    "review_task_id": "YD1U-6P7QaOh4gTJQ6AEEA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e4e7ec2497f326813b8ed032a1d4c76aad00a7b9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073812/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T21:57:16.975014Z"
}