List and retrieve diffs with detailed revision information

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

{
    "id": 1055745,
    "revision": {
        "id": 477972,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "56dabce61b8a6587d7af3975c93d0d751ff1da22",
        "head_changeset": "8697f641560e7169f1d2f5cb5a1afda9db0fe090",
        "phabricator_id": 252977,
        "phabricator_phid": "PHID-DREV-io2b6yuiqxlzuivefpxw",
        "title": "Bug 1970018 - Don't rely upon data on deleted msgHdr in test_perFolderDatabase.js. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477972/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477972/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252977"
    },
    "phid": "PHID-DIFF-hd7v5ervl2j4nnx6i55h",
    "review_task_id": "Nhlg3iGISTupOYA-gATp2A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8697f641560e7169f1d2f5cb5a1afda9db0fe090",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055745/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T10:51:58.694696Z"
}