List and retrieve diffs with detailed revision information

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

{
    "id": 1074626,
    "revision": {
        "id": 487254,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "628695e0ba6a9bd28f924d9e5166484506e44202",
        "head_changeset": "9df9c9e27a92b4db74ff3c5fef0a51e2329b7474",
        "phabricator_id": 255242,
        "phabricator_phid": "PHID-DREV-7d6ck6vrd5qp2ojdzgv2",
        "title": "Bug 1972449 — Add help center and version label icons to the ip protection panel header. r=#ip-protection-reviewers!",
        "bugzilla_id": 1972449,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487254/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487254/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255242"
    },
    "phid": "PHID-DIFF-iyojszlvg3icdwpbeafk",
    "review_task_id": "P4TLg49CSciyDw0047i6OQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9df9c9e27a92b4db74ff3c5fef0a51e2329b7474",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074626/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T20:09:11.924123Z"
}