List and retrieve diffs with detailed revision information

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

{
    "id": 1087527,
    "revision": {
        "id": 496399,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63b8d2e8c5777b4d8ccddffe636cae86dbd8344f",
        "head_changeset": "de292dd9b59f8a3100a20745435f0fba60d23db4",
        "phabricator_id": 257535,
        "phabricator_phid": "PHID-DREV-htvvfrk7llrhoweuk7pe",
        "title": "Bug 1975175 - cancel Content Analysis when Download is canceled r=mak!,#dlp-reviewers!",
        "bugzilla_id": 1975175,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496399/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496399/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257535"
    },
    "phid": "PHID-DIFF-qmfucxmhz6x6lqpkd7h3",
    "review_task_id": "EVp5wCmRQMeclGu5MN2MAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "59eca48a4e9c0f93db4452b02c51389acdb0fde2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087527/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T20:19:11.182337Z"
}