List and retrieve diffs with detailed revision information

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

{
    "id": 1087387,
    "revision": {
        "id": 496496,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ab1f4f1be64dbebcb4fee3868a4ff130ee397965",
        "head_changeset": "ef1fb87ccde9c6775a001bb315bc09d72d41ef7d",
        "phabricator_id": 257549,
        "phabricator_phid": "PHID-DREV-zgewjlabcjeckdfdibc6",
        "title": "Bug 1977656 - Remove divider from ConnectionSecurityPanel and reorder items in ProtectionPanel. r=gl",
        "bugzilla_id": 1977656,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496496/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496496/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257549"
    },
    "phid": "PHID-DIFF-7ucdyagwntkrgmxbof25",
    "review_task_id": "TzJunUCRQV6Zol0s97UVAA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ef1fb87ccde9c6775a001bb315bc09d72d41ef7d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087387/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T18:06:51.377100Z"
}