List and retrieve diffs with detailed revision information

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

{
    "id": 1052514,
    "revision": {
        "id": 477378,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "7ecaa11533b9ae8f090e6631f3a5f954fc1e995c",
        "phabricator_id": 252459,
        "phabricator_phid": "PHID-DREV-36v4o6fum5fuhgj5hvy2",
        "title": "Bug 1970121 - Remove workaround for bug 1592227 r=mstange",
        "bugzilla_id": 1970121,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477378/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477378/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252459"
    },
    "phid": "PHID-DIFF-szhbaum2x5vtezntrmd5",
    "review_task_id": "XxJk_v40RTWMoZeKNRR0RA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ecaa11533b9ae8f090e6631f3a5f954fc1e995c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052514/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T09:44:27.319768Z"
}