List and retrieve diffs with detailed revision information

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

{
    "id": 1076286,
    "revision": {
        "id": 485405,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e4b79466c0e2f1aedf9f9443ce9f64223d3c78bd",
        "head_changeset": "6a984216e1354192bfdf102bcd3582422e4e7102",
        "phabricator_id": 255015,
        "phabricator_phid": "PHID-DREV-2unx7wa635ao5xlddrlj",
        "title": "WIP: Bug 1974059 - Reduce functionality of attribution service to be specific to Newtab",
        "bugzilla_id": 1974059,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485405/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485405/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255015"
    },
    "phid": "PHID-DIFF-kpunqt4xe3akwugjb3as",
    "review_task_id": "UQTEI49hTQivu18TTUWqcw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ea744d317b6455dc0eb6d122be997f4250ea3840",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076286/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T19:31:32.760888Z"
}