List and retrieve diffs with detailed revision information

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

{
    "id": 1079510,
    "revision": {
        "id": 492184,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "de63c596b1cfc3f84ff0c287440acdde8b150924",
        "head_changeset": "dbe1be9a378a3abda29e7ad0b9f1c90aef9b899d",
        "phabricator_id": 256466,
        "phabricator_phid": "PHID-DREV-jovabm6x5pajstushuor",
        "title": "Bug 1976249 - Update tcfetch and wpt-interop to latest versions,",
        "bugzilla_id": 1976249,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492184/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492184/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256466"
    },
    "phid": "PHID-DIFF-pwxpoyprhtjxhmsssyfp",
    "review_task_id": "YmrK861mQO2tPZo7UnOoEg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dbe1be9a378a3abda29e7ad0b9f1c90aef9b899d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079510/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T15:17:48.384938Z"
}