List and retrieve diffs with detailed revision information

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

{
    "id": 1053252,
    "revision": {
        "id": 477524,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ac62bd026df9a4f05afdd9a09e1c179bd7ef58c",
        "head_changeset": "4ee485cc0b4baa066cbd1083ea558397963b777c",
        "phabricator_id": 252027,
        "phabricator_phid": "PHID-DREV-jj2wms6xqp4ncdesdklo",
        "title": "Bug 1968612: use new landoscript payload builder for non-merge-automation tasks r?#releng-reviewers!",
        "bugzilla_id": 1968612,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477524/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477524/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252027"
    },
    "phid": "PHID-DIFF-gj22cbmebvu5effbrkco",
    "review_task_id": "fmapCJjvR6yNBtP9h08eSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ee485cc0b4baa066cbd1083ea558397963b777c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053252/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T01:00:27.832048Z"
}