List and retrieve diffs with detailed revision information

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

{
    "id": 1066595,
    "revision": {
        "id": 482985,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e362324cadfd67032f8c5f6c3f7f6bcd3f8fd49b",
        "head_changeset": "665e0d9297970b1cd46f0ab45ec7065d0c9dd54f",
        "phabricator_id": 254492,
        "phabricator_phid": "PHID-DREV-hb2yo26ayscfqhfrxesi",
        "title": "Bug 1621736 - Refactor browser_fullscreen-api-keys.js test; r?smaug,sefeng",
        "bugzilla_id": 1621736,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482985/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482985/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254492"
    },
    "phid": "PHID-DIFF-4d5mxewybtir6f44alhw",
    "review_task_id": "ZCmCrIclRli5FPwVjLmhTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "665e0d9297970b1cd46f0ab45ec7065d0c9dd54f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066595/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T10:08:29.521333Z"
}