List and retrieve diffs with detailed revision information

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

{
    "id": 1115013,
    "revision": {
        "id": 508444,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "58632dda0c3fd291e18ecf2522e07edaa604753b",
        "head_changeset": "5c4e3e1cd665cc715418fc92aea29369794478b7",
        "phabricator_id": 255174,
        "phabricator_phid": "PHID-DREV-mmrf62yd7b6nesij72jo",
        "title": "Bug 1930954 - Part 4: Integrate opentelemetry-proto with protobuf component r=markh",
        "bugzilla_id": 1930954,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508444/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508444/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255174"
    },
    "phid": "PHID-DIFF-zbvof2apf4icacxqrof5",
    "review_task_id": "cqE0no2iTsS4WekGjYCIDg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "45b1861afe03fc11e2840969173bf7bc3096641d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115013/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-01T16:54:22.233607Z"
}