List and retrieve diffs with detailed revision information

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

{
    "id": 1039521,
    "revision": {
        "id": 475825,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "c1a6785d73dec3aff901de91e5d0b6a8a3778acd",
        "phabricator_id": 250394,
        "phabricator_phid": "PHID-DREV-l5u5ljmm7duq4qfjc6pw",
        "title": "Bug 1961165 - Adjust some nsIMsgDBView getters not to throw on no selection. r=edicharry",
        "bugzilla_id": 1961165,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475825/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475825/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250394"
    },
    "phid": "PHID-DIFF-y6e75bcx64oc2jn75ygf",
    "review_task_id": "fyPrc_4QScufbLGAFiWLQg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c1a6785d73dec3aff901de91e5d0b6a8a3778acd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039521/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T08:45:58.077096Z"
}