List and retrieve diffs with detailed revision information

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

{
    "id": 1079381,
    "revision": {
        "id": 492080,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f562693b5b30344af6419b1668bcbcf3a804daba",
        "head_changeset": "09f80bec7ab079f674588cdb4e5a8d49e1961743",
        "phabricator_id": 256438,
        "phabricator_phid": "PHID-DREV-campvq2vpbyi2kzzbdf3",
        "title": "Bug 1962414 - switch linux ccov xpcshell tests to t-linux-docker-noscratch worker pool.",
        "bugzilla_id": 1962414,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492080/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492080/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256438"
    },
    "phid": "PHID-DIFF-kcm2st2kxlnc7dv2csg7",
    "review_task_id": "ZVfazgebST-ltg3gp_ZmhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "09f80bec7ab079f674588cdb4e5a8d49e1961743",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079381/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T12:27:29.788137Z"
}