List and retrieve diffs with detailed revision information

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

{
    "id": 1049932,
    "revision": {
        "id": 476881,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2798da039b44b92836d3478a83430f7cf3aa3284",
        "head_changeset": "047a906169019d790f820749ef3bef30ac82e3df",
        "phabricator_id": 251871,
        "phabricator_phid": "PHID-DREV-rxu2aaxynrikehljlwuz",
        "title": "Bug 1969441 - Fix AndroidSrcXmlDetector linter warnings. r=#android-reviewers",
        "bugzilla_id": 1969441,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476881/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476881/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251871"
    },
    "phid": "PHID-DIFF-qpmhnkiphud2fltqyju7",
    "review_task_id": "OhBLYJntRtudYa-p_l7B8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "047a906169019d790f820749ef3bef30ac82e3df",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049932/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T13:35:19.007763Z"
}