List and retrieve diffs with detailed revision information

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

{
    "id": 1056258,
    "revision": {
        "id": 477822,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ff4303bf63726edbc991fd26d7940adf87fce1b",
        "head_changeset": "ec1586be9a4877e8f1abfcfd0608a8d12d1702f5",
        "phabricator_id": 252973,
        "phabricator_phid": "PHID-DREV-r2exfqtgc7wbyhoypenw",
        "title": "Bug 1970873 - Set `height: 19px` to the scrollIntoView target element. r?#layout-reviewers,botond",
        "bugzilla_id": 1970873,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477822/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477822/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252973"
    },
    "phid": "PHID-DIFF-bmjcjt3eki6buoxdn6kb",
    "review_task_id": "ZnZrVH4fQZ-rZvU-X4qa9g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "75f95a5d1d79575ad597188e6399e0a6843257dc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056258/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T21:48:30.356383Z"
}