List and retrieve diffs with detailed revision information

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

{
    "id": 1094507,
    "revision": {
        "id": 497292,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ec5a911287f51bc177058928bb102163a3b656e",
        "head_changeset": "62d13b7d3231556f10832aa6638a05529a81cf3c",
        "phabricator_id": 257749,
        "phabricator_phid": "PHID-DREV-utl6ndlvvid5z3qxyfg2",
        "title": "Bug 1975714 - Replace uses of `make_slice` with  `FfiSlice`. r=#webgpu-reviewers",
        "bugzilla_id": 1975714,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497292/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497292/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257749"
    },
    "phid": "PHID-DIFF-e2d7l2afhwi7xq7amgbi",
    "review_task_id": "I7_Vrz8ZRESgBCLf1rCsfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "83e80367bbee532b4763786859f5fdf3585e4856",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094507/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T17:16:07.568008Z"
}