List and retrieve diffs with detailed revision information

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

{
    "id": 1107977,
    "revision": {
        "id": 515472,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ced0a433f4160325c8f7124c6112483e87cd3244",
        "head_changeset": "9bd66b04fcec40f5c04f468ed55b76e02c0b0ab7",
        "phabricator_id": 261592,
        "phabricator_phid": "PHID-DREV-lwynkzurf7wtle2zwhjd",
        "title": "Bug 1973243 - Update test262 from upstream; r=#spidermonkey-reviewers!",
        "bugzilla_id": 1973243,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515472/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515472/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261592"
    },
    "phid": "PHID-DIFF-lso74qwxdc3s4ec2iuqg",
    "review_task_id": "RGzObwAaSYWyVZMopJK6JQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8fb00dd445d8d17eb6be2c7a20a2dcc9ee5e2393",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107977/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:01:18.039114Z"
}