List and retrieve diffs with detailed revision information

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

{
    "id": 1107910,
    "revision": {
        "id": 515441,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "743d648f2dd9b7f6f78d8265801f96a16b015da9",
        "phabricator_id": 261584,
        "phabricator_phid": "PHID-DREV-zwejdlzwrv43pdtgq2l6",
        "title": "Bug 1983603: Servo support for parsing shadow part attributes (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515441/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515441/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261584"
    },
    "phid": "PHID-DIFF-hjapmjc543ddtdjyq2lf",
    "review_task_id": "TY9gECwATJuY_Eu2xa0BPQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2305af2db1a6767cbe309f5563b278e72ab8b82f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107910/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T15:42:38.428271Z"
}