List and retrieve diffs with detailed revision information

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

{
    "id": 1073153,
    "revision": {
        "id": 485184,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83a3f034bb049b3145b9b659cbb30b54d838357e",
        "head_changeset": "4c1be8ca612950c866fa2e79c1ae5a479b9b1c9c",
        "phabricator_id": 254958,
        "phabricator_phid": "PHID-DREV-243epaiznpavpshb5wmi",
        "title": "WIP: Bug 1973900 - Remove support for the codebase attribute from <object>",
        "bugzilla_id": 1973900,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485184/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485184/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254958"
    },
    "phid": "PHID-DIFF-bu7blwqg7pl5dfeoczn6",
    "review_task_id": "fZRKQ8rQRTKoC2c2N5qZDA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5ab0d29beec3b1e4037052dff66c16d5cccee96f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073153/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T09:04:18.050882Z"
}