List and retrieve diffs with detailed revision information

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

{
    "id": 1066569,
    "revision": {
        "id": 469251,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9618bcf1929211ce4b5700a9271ddbc1038878d6",
        "head_changeset": "6d7366eab4c228a262f4da9cf869134c249f1b5c",
        "phabricator_id": 241635,
        "phabricator_phid": "PHID-DREV-vnmbmg7m4cavkndw2elb",
        "title": "Bug 1928096 - Native messaging test with xdg-desktop-portal. r?robwu",
        "bugzilla_id": 1928096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469251/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469251/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D241635"
    },
    "phid": "PHID-DIFF-ekkfuvioy7ow537govqv",
    "review_task_id": "Rn-e1Lp7QOqr1JczJIPXyA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f1430be187e1dd5542e8637bcb565dae5995029c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066569/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T09:10:34.030975Z"
}