List and retrieve diffs with detailed revision information

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

{
    "id": 1058280,
    "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-jci2hqcbmc5cyktwvqkw",
    "review_task_id": "LtOW3VO3SSOn7WkJv9l_oQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "530672b8cea9101c74e4cf337bc1721c6018237e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058280/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T11:53:35.626029Z"
}