List and retrieve diffs with detailed revision information

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

{
    "id": 1079537,
    "revision": {
        "id": 491521,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6e7abc0bd6cf9f47c6cc3bd2e6270b11c2f0cdde",
        "head_changeset": "31a2f00007841887ff252d92cfe43e2c32426332",
        "phabricator_id": 256302,
        "phabricator_phid": "PHID-DREV-nsqzoutsikxpbkokxl4s",
        "title": "Bug 1976011 - Fix two errors in ./mach ... patch --only. r?tjr",
        "bugzilla_id": 1976011,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491521/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491521/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256302"
    },
    "phid": "PHID-DIFF-cw2mjn3r4xlategfcx4t",
    "review_task_id": "LM70fc-9Rxuw7oY_V5zJ2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "afb3d1a455997f58a0ba694edbbcd2886b870629",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079537/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T16:02:27.752405Z"
}