List and retrieve diffs with detailed revision information

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

{
    "id": 1050557,
    "revision": {
        "id": 477017,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7222fa7893e74127b868b4363472b7962ff902f8",
        "head_changeset": "0ff9c4bb15427994348888083ee4fc60f5b48d8f",
        "phabricator_id": 252003,
        "phabricator_phid": "PHID-DREV-mpcdci3msz5kd77syn4e",
        "title": "Bug 1969141 - Fix version check for bug 1958174's workaround. r=stransky",
        "bugzilla_id": 1969141,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477017/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477017/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252003"
    },
    "phid": "PHID-DIFF-elqjrmp7dx4wa7cnapgx",
    "review_task_id": "SqBjsbjIRpaJlC4eg2oBVQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0ff9c4bb15427994348888083ee4fc60f5b48d8f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050557/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T21:27:09.871144Z"
}