List and retrieve diffs with detailed revision information

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

{
    "id": 1049707,
    "revision": {
        "id": 476136,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7e02f559f2fe517de0a56ab89ba209d23a472c41",
        "head_changeset": "a8250bbf6609985c6067cbd51461cf0dcfaa9413",
        "phabricator_id": 250865,
        "phabricator_phid": "PHID-DREV-mx6mgswnd36hphyejan3",
        "title": "Bug 1968137 Part 3 - Use GridLineEdge() helper in nsGridContainerFrame::ComputeIntrinsicISize(). r?#layout-grid-reviewers",
        "bugzilla_id": 1968137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476136/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476136/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250865"
    },
    "phid": "PHID-DIFF-vhhq7dc3rmdlv4hzu3vl",
    "review_task_id": "R-p9sJOrQmWR75rraJwBOA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ab75a86460e56f904445fbbf542b64f2d3c3790f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049707/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T05:37:39.269308Z"
}