List and retrieve diffs with detailed revision information

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

{
    "id": 1086742,
    "revision": {
        "id": 496004,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "68d4f898e8a65299d7a038b426f1d7883f12c0e4",
        "head_changeset": "c8e7c2e9a01002a1081cec701d0a372f0f92acf3",
        "phabricator_id": 257396,
        "phabricator_phid": "PHID-DREV-ftx7xe3hx4wpyvz26s22",
        "title": "Bug 1497064 - NS_ERROR_ILLEGAL_VALUE is caught and thrown with a more descriptive ExtensionError. r?robwu!",
        "bugzilla_id": 1497064,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496004/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496004/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257396"
    },
    "phid": "PHID-DIFF-bi74vzpg4yljicx6qwor",
    "review_task_id": "ZSOln5gySGafh9WhqTFvYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c8e7c2e9a01002a1081cec701d0a372f0f92acf3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086742/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T22:10:21.561475Z"
}