List and retrieve diffs with detailed revision information

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

{
    "id": 1087236,
    "revision": {
        "id": 496373,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7962795f6c58a600fb9cbfb8e8945f7dc798ef77",
        "head_changeset": "cfbd6f8f1c6f74757cb7e8545f8612a34141bb8c",
        "phabricator_id": 257522,
        "phabricator_phid": "PHID-DREV-qpr2vyxmxp3n2drwrb3x",
        "title": "WIP: Bug 1977628 - [devtools] Differentiate DOM Events supported by Gecko from non supported one, or possibly user-defined DOM Event names.",
        "bugzilla_id": 1977628,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496373/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496373/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257522"
    },
    "phid": "PHID-DIFF-ezwtq7i6gyjli4j73t5t",
    "review_task_id": "E4gMyvt7QhWRx9bR1cRRvg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cfbd6f8f1c6f74757cb7e8545f8612a34141bb8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087236/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T15:48:28.521499Z"
}