List and retrieve diffs with detailed revision information

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

{
    "id": 1050565,
    "revision": {
        "id": 476270,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef5f3485764ce7425649e2d79743adebaf29b112",
        "head_changeset": "ae1bd4002604de771eee8affe0c5ff839519a58c",
        "phabricator_id": 251103,
        "phabricator_phid": "PHID-DREV-xgiymj3uybnq3a2xhyzk",
        "title": "Bug 1928581 - Part 4: Use the correct check for Merino content recommendations in the existing Stories preferences",
        "bugzilla_id": 1928581,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476270/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476270/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251103"
    },
    "phid": "PHID-DIFF-7mabwxuy4xrbjjj36wny",
    "review_task_id": "Yofdjx0aReWPynWvVU0fBw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "651f89308bfb1fcb7534414b75463497c7f1cc3d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050565/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T22:49:09.476301Z"
}