List and retrieve diffs with detailed revision information

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

{
    "id": 1064188,
    "revision": {
        "id": 477383,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "0d11c9d448a6dfcda660ff6f9f013b3cac67682a",
        "phabricator_id": 250608,
        "phabricator_phid": "PHID-DREV-5utt3y7mdgbtbo4oq6f7",
        "title": "WIP: Bug 1964996 - Allow to add/remove optional data collection perms in A-C",
        "bugzilla_id": 1964996,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477383/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477383/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250608"
    },
    "phid": "PHID-DIFF-5cdeakzwfiahxhfde7yf",
    "review_task_id": "b5IeAoEVRNCMJXeu3Uwb4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bbc24fbfca27ed9002b3bd187d7a38bf5cf285ed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064188/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T16:00:11.273392Z"
}