List and retrieve diffs with detailed revision information

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

{
    "id": 1114139,
    "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-ovzoxix5egt73zeubgam",
    "review_task_id": "HT-x9jvvR0a3vM11H1u0Ng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c34ec9367544428a40adca260d3c523cacc19236",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114139/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T08:32:04.932601Z"
}