List and retrieve diffs with detailed revision information

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

{
    "id": 1079717,
    "revision": {
        "id": 492415,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eaf95207f1cc1e1352a3369f2598d6aace236a18",
        "head_changeset": "9d0161a2e307788b89f3b5e3fb681c5cd353a054",
        "phabricator_id": 256505,
        "phabricator_phid": "PHID-DREV-nhirwzwjiajtv4hlbfxs",
        "title": "Bug 1845523 - ExtensionProcessCrashObserver.observe now uses a number instead of string for childID, and test added to assert correct type used. r?robwu!",
        "bugzilla_id": 1845523,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492415/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492415/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256505"
    },
    "phid": "PHID-DIFF-ntyrvg76nyvrjb2frzll",
    "review_task_id": "DVpQjifhRsa1IL4DTHarcQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "92d3babd5c82fd53bb905e398568b8c54c1ffc72",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079717/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T19:42:42.058253Z"
}