List and retrieve diffs with detailed revision information

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

{
    "id": 1054862,
    "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-nf72ikj5ewfc5mqxknh6",
    "review_task_id": "T1TaAhCvTNqXGupfk7xI2w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec1586be9a4877e8f1abfcfd0608a8d12d1702f5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054862/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-08T23:17:45.245864Z"
}