List and retrieve diffs with detailed revision information

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

{
    "id": 1112465,
    "revision": {
        "id": 517908,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "438f91d8d20db90b97fd35b10386b2dc706d03d4",
        "head_changeset": "fe7610df2c6251e273518b5a6ed20aa19192d94a",
        "phabricator_id": 262086,
        "phabricator_phid": "PHID-DREV-skikvaelyiqru63wfble",
        "title": "Bug 1286945 - Use \"real\" fake camera in MediaStreamTrack-applyConstraints.https.html. r?jib",
        "bugzilla_id": 1286945,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517908/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517908/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262086"
    },
    "phid": "PHID-DIFF-xjpp7x2kz32vpu45cbna",
    "review_task_id": "Jpu6hT7VSJ-gZIESbiFvtA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d0066145e1914cb23ccfc66c1a74f2f8b3184adb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112465/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T00:46:28.722433Z"
}