List and retrieve diffs with detailed revision information

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

{
    "id": 1105147,
    "revision": {
        "id": 511958,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f53bcb3c2e3fae0b95f52a06e685589110c5fe34",
        "head_changeset": "ebced06c1b552a4f658d79e0ffe791dad01a5547",
        "phabricator_id": 260920,
        "phabricator_phid": "PHID-DREV-2lun4vvep6k4vtcctcjq",
        "title": "Bug 1969417 - Set and reset actionmode attribute at appropriate times to prevent it from being false when action search mode results are visible. r?dao",
        "bugzilla_id": 1969417,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511958/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511958/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260920"
    },
    "phid": "PHID-DIFF-4xg3zj277m3lzblkdujb",
    "review_task_id": "GS8udlaSReC58ZO7N5zWQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebced06c1b552a4f658d79e0ffe791dad01a5547",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T04:49:27.353564Z"
}