List and retrieve diffs with detailed revision information

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

{
    "id": 1035363,
    "revision": {
        "id": 474104,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "835e1f45fdd963aa2574e2c0f03f1cda04c2e977",
        "head_changeset": "fb5fc6568cb3309cdc1cf56d654f666379f39219",
        "phabricator_id": 247804,
        "phabricator_phid": "PHID-DREV-dql3tdwf2kbj3hrc3or7",
        "title": "WIP: Bug 1947534 - Move MenuButton highlights to background thread",
        "bugzilla_id": 1947534,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474104/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474104/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247804"
    },
    "phid": "PHID-DIFF-3sr6j4ywfeni7mggw2w6",
    "review_task_id": "M44DwrmDSHm6GWXrn6iWYA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3355dd69e8f706a2d34a808ba514b146a137f111",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035363/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:30:06.042587Z"
}