List and retrieve diffs with detailed revision information

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

{
    "id": 1036258,
    "revision": {
        "id": 474648,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9d4d9591934fc9f12bdb43b2e239c135e5ce677e",
        "head_changeset": "2a4e3e7bfd2cddce8b83bbe66e69acbb7037efd7",
        "phabricator_id": 248660,
        "phabricator_phid": "PHID-DREV-t2spjjtklixno5vjnl56",
        "title": "Bug 1965441 - Let PerformancePaintiming webidl interface have its own toJSON implementation r?sefeng",
        "bugzilla_id": 1965441,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474648/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474648/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248660"
    },
    "phid": "PHID-DIFF-hkhblmkcpmhfeucp3ryf",
    "review_task_id": "Sn4vOmp1RRGkrLbTlZNrOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "02371f2a2966748c1776a7fc6d4b66f087fe1b06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036258/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T11:23:51.050556Z"
}