List and retrieve diffs with detailed revision information

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

{
    "id": 1079050,
    "revision": {
        "id": 488543,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5649df61eae0bd6a883b2b93d5232aac62886f7e",
        "head_changeset": "f4f8d524475afbd9a3469dd55492ec3f9a5f6981",
        "phabricator_id": 255535,
        "phabricator_phid": "PHID-DREV-6q3ubtowzkbiboarbnkn",
        "title": "WIP: Bug 1974328 - Check if newtab_message is displayed in selected browser r=#home-newtab-reviewers,#omc-reviewers",
        "bugzilla_id": 1974328,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488543/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488543/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255535"
    },
    "phid": "PHID-DIFF-vccsaggvqe472r56p64h",
    "review_task_id": "emgYiF0vRP2mJfBdS6CJSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f0fd515ed72952f9f6eb169fb088a387d4ab1d46",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079050/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T20:55:09.633769Z"
}