List and retrieve diffs with detailed revision information

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

{
    "id": 1112588,
    "revision": {
        "id": 517708,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "cb9e8ed2ed5bf7d29885aeedf20e7a9810743b71",
        "head_changeset": "bf5b5a0b960665efbd3914432c81a5ea85aef604",
        "phabricator_id": 262055,
        "phabricator_phid": "PHID-DREV-rwjq5ws6kyhhl2yum5wp",
        "title": "Bug 1984550 - Move import mochitests to mailnews/import. r=#thunderbird-reviewers",
        "bugzilla_id": 1984550,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517708/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517708/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262055"
    },
    "phid": "PHID-DIFF-kwm24znt54pfgv67llm7",
    "review_task_id": "FK6IACyqQTa7DWp0UUgZwA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8e417a6f765efb35e9ad159bf331b7e89b7e4434",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112588/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T05:49:07.358445Z"
}