List and retrieve diffs with detailed revision information

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

{
    "id": 1056397,
    "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-e7d43f4nhivf5gcevruk",
    "review_task_id": "R5a1XwQSRjaOi5blSg_-cg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "69078ab699d9e51082f8da398f40290fac20914a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056397/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:56:38.415609Z"
}