List and retrieve diffs with detailed revision information

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

{
    "id": 1087212,
    "revision": {
        "id": 492735,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "95f7cbbad31b8636a6918d9e1aa4556f50a60898",
        "head_changeset": "fafde4f210241bd48464005e3c2ca67b3fce78b2",
        "phabricator_id": 256584,
        "phabricator_phid": "PHID-DREV-hyxqav54ytbm6aelt2nl",
        "title": "WIP: Bug 1974236 - [devtools] Make sure to parse most of the source before generating the binding references",
        "bugzilla_id": 1974236,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492735/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492735/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256584"
    },
    "phid": "PHID-DIFF-bwzxocvk6aqjevmgnuzi",
    "review_task_id": "fDBFkkRhT02M-mkpJrRGFQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f5bb1f3744fe42007c3e039de0a95aa2f7e7ed84",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087212/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T15:35:27.465034Z"
}