List and retrieve diffs with detailed revision information

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

{
    "id": 1050054,
    "revision": {
        "id": 476920,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6a4046f086454481ad8dd877ffd98817ddea2a37",
        "head_changeset": "256fe47f5e057ddc1fa90313d289ec89860d64c5",
        "phabricator_id": 251916,
        "phabricator_phid": "PHID-DREV-z53wdxlllljw2qkxx2us",
        "title": "Bug 1969477 - Run `LanguageMiddlewareTest` without relying on Robolectric.",
        "bugzilla_id": 1969477,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476920/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476920/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251916"
    },
    "phid": "PHID-DIFF-br6gatm5gn4qqhk2fkl3",
    "review_task_id": "XK8LNFLzQmWL7eSg4IqIfw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "256fe47f5e057ddc1fa90313d289ec89860d64c5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050054/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T17:39:56.048608Z"
}