List and retrieve diffs with detailed revision information

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

{
    "id": 1053138,
    "revision": {
        "id": 473756,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cdb7f526b187af6cb7913be04b06667814fa19cd",
        "head_changeset": "6fcfe4c7530e0b4b846848089ef2af24fdda375b",
        "phabricator_id": 247132,
        "phabricator_phid": "PHID-DREV-53cvgmlpaq5dwrcwkerr",
        "title": "WIP: Bug 1944907 - Drag a tab to pin it",
        "bugzilla_id": 1944907,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473756/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473756/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247132"
    },
    "phid": "PHID-DIFF-fhpn7vrqlkcl544ljhae",
    "review_task_id": "E5EOAmLDRpWlSQ54rxEZnw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "74f4486a6c012dc06fd1c440d58eae1285dca5bd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053138/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T21:30:19.877465Z"
}