List and retrieve diffs with detailed revision information

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

{
    "id": 1074479,
    "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-clbgtfcxrd4x3px6bx2r",
    "review_task_id": "SA2LrvJiTR-_9WUcGF5ldg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f01c3ab4c0d82e37f98f6eaa3832790fd98dc46f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074479/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T17:15:46.990053Z"
}