List and retrieve diffs with detailed revision information

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

{
    "id": 1051567,
    "revision": {
        "id": 477189,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "878a18c09a666ddbbc00b4736d21e66a6570b627",
        "head_changeset": "695423184c585d305400dd183d64c973093d3b43",
        "phabricator_id": 252270,
        "phabricator_phid": "PHID-DREV-yp4p3ewpsf72knrsyujg",
        "title": "Bug 825197 - Throw TypeError when providing infinite number to HTMLInputElement.valueAsNumber. r=avandolder",
        "bugzilla_id": 825197,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477189/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477189/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252270"
    },
    "phid": "PHID-DIFF-aue3sb7r5ejgztw2cp6q",
    "review_task_id": "T_nkgE0-S0GJjNmXIjTKeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "695423184c585d305400dd183d64c973093d3b43",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051567/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T02:50:29.809707Z"
}