List and retrieve diffs with detailed revision information

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

{
    "id": 1094370,
    "revision": {
        "id": 496503,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f3c9586d001f102a0998bc023ef7dbfe75fd3e40",
        "head_changeset": "b5cc26bbf37f17cce347902cf5a6f434022d2e40",
        "phabricator_id": 257559,
        "phabricator_phid": "PHID-DREV-5x6vuyginyvqrmdjqb6e",
        "title": "Bug 1920227 - Use firefox -xpcshell for mach xpcshell r?ahal",
        "bugzilla_id": 1920227,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496503/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496503/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257559"
    },
    "phid": "PHID-DIFF-yo4a7cl45xvrcivnijot",
    "review_task_id": "bwURdbSyQYCc_-hejM-FhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3995d2fbc772e2bafce7011f3de05f294ae81608",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T15:44:22.096609Z"
}