List and retrieve diffs with detailed revision information

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

{
    "id": 1075457,
    "revision": {
        "id": 488602,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85aa858788c17c1ddab5e8ee601473c6910210ae",
        "head_changeset": "9c730d3b96e2f2c2f21f3e440bc77b2254ff338b",
        "phabricator_id": 255552,
        "phabricator_phid": "PHID-DREV-g6y5xb2pt3s43b76owrx",
        "title": "Bug 1974829 - Only update search providers if the search configuration changes r=#android-reviewers",
        "bugzilla_id": 1974829,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488602/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488602/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255552"
    },
    "phid": "PHID-DIFF-7jcfmhd5a2n6tbvh347n",
    "review_task_id": "CO09BJFNT3CoHgFb0u9lOA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9c730d3b96e2f2c2f21f3e440bc77b2254ff338b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075457/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T20:54:06.177323Z"
}