List and retrieve diffs with detailed revision information

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

{
    "id": 1107154,
    "revision": {
        "id": 513560,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "27bac7fc7ff2be41181ba03bfe7a0da97150ea15",
        "head_changeset": "163f8b5e5c2bdd460b78a02e4f1ad5d736a0d524",
        "phabricator_id": 261201,
        "phabricator_phid": "PHID-DREV-livpu6rhumlzarl7qsg7",
        "title": "WIP: Bug 1983118 - Enable undo/redo for copy message.",
        "bugzilla_id": 1983118,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513560/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513560/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261201"
    },
    "phid": "PHID-DIFF-yxgswo5qxapw5eewlxn2",
    "review_task_id": "H6FArT0mTzCmBfODpixxkA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "43ce4f220a0092cab9169d6be2373008ae6d741e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107154/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T15:53:55.816079Z"
}