List and retrieve diffs with detailed revision information

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

{
    "id": 1056976,
    "revision": {
        "id": 476682,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0183a12d6e88484de4a2352873235d4bc4aca58b",
        "head_changeset": "833db3c8a592c7c77f0fbb5b8b3fc9a29483d26c",
        "phabricator_id": 251625,
        "phabricator_phid": "PHID-DREV-44knux7h45mt4nuqpdlj",
        "title": "WIP: Bug 1954122 - Part 3: Have FilterAdult delegate lookups to FilterAdultComponent shared Rust component.",
        "bugzilla_id": 1954122,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476682/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476682/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251625"
    },
    "phid": "PHID-DIFF-ugb2tahaxjw26b3nxblf",
    "review_task_id": "NuWd-GxzSQaM3qLEZ6Hegw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7175a6478fa4b3755bb1d82655b70a2a33219249",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056976/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T18:34:27.137705Z"
}