List and retrieve diffs with detailed revision information

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

{
    "id": 1051370,
    "revision": {
        "id": 477139,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "bd48cadbcf8e3cf986631a28eee7c2baa6d0be58",
        "phabricator_id": 252200,
        "phabricator_phid": "PHID-DREV-rcn3lo5z3hakpmexszfb",
        "title": "Bug 1969946 - Fix banner and tiles have rounded corners but the click ripple having square",
        "bugzilla_id": 1969946,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477139/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477139/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252200"
    },
    "phid": "PHID-DIFF-h3ljn74uyfytdiw4ssoj",
    "review_task_id": "NjotkjLaTKmNUbBOn4deqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5263b471f16a0a1feabe8fac8fbfa869fdce38c6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T21:19:50.182755Z"
}