List and retrieve diffs with detailed revision information

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

{
    "id": 1031549,
    "revision": {
        "id": 474331,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f3a372d30948539f9cf212214d8c7e8e6b4a4f3a",
        "head_changeset": "176d0c42bdc0c55de17b89efc303413a2f81ebce",
        "phabricator_id": 247605,
        "phabricator_phid": "PHID-DREV-wu6njhq5a6htz246okfo",
        "title": "Bug 1963941 - Refactor closedby-corner-cases to avoid waiting on timers r?#dom-core",
        "bugzilla_id": 1963941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474331/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474331/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247605"
    },
    "phid": "PHID-DIFF-fwww2o3evywca6ar4lrv",
    "review_task_id": "aajqxnrCSr2lyoOs31It1A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "45aaee37a8f1411edbcdb98876b62570d70986d4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1031549/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T09:52:49.339766Z"
}