List and retrieve diffs with detailed revision information

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

{
    "id": 1087959,
    "revision": {
        "id": 491422,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96fc24855eb37df1481106fc25a5e27af05b7cf3",
        "head_changeset": "73355faeee5c0f4e208777790175dcb16301b382",
        "phabricator_id": 256261,
        "phabricator_phid": "PHID-DREV-est2hgeov7wwjtxmm6io",
        "title": "WIP: Bug 799415 - camera-preview-wip",
        "bugzilla_id": 799415,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491422/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491422/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256261"
    },
    "phid": "PHID-DIFF-oueduodbc2boihnhh7hr",
    "review_task_id": "bNktcU4ZS862JbvEjFccQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9c07a8a129c4468ac9424371ec2749d65bd42805",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087959/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T11:35:18.375191Z"
}