List and retrieve diffs with detailed revision information

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

{
    "id": 1059337,
    "revision": {
        "id": 476441,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85b6ac5848322ca461fc7cc7fb9d3d9af30d8e25",
        "head_changeset": "888c9e40ce0e2867f765f9fe1ab96db4a8bd5971",
        "phabricator_id": 251361,
        "phabricator_phid": "PHID-DREV-7y4d4qcx6esn33mtp7i6",
        "title": "WIP: Bug 1968479 - Disable DetectJsHacks for eval",
        "bugzilla_id": 1968479,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476441/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476441/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251361"
    },
    "phid": "PHID-DIFF-otue5qd65hmtq5vf3old",
    "review_task_id": "MQgMmAWlRFWTF9rpyHKVmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1909623fbc6deb4c198a536b37a0d9605a109e20",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059337/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:04:35.189255Z"
}