List and retrieve diffs with detailed revision information

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

{
    "id": 1087353,
    "revision": {
        "id": 486706,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "45578dc4fe30ac9514445239e9a6dedbaf26e0e6",
        "phabricator_id": 255304,
        "phabricator_phid": "PHID-DREV-emwpqtukh2luptt3qax3",
        "title": "Bug 1973033 - Part 8: Rename data structures that can now contain small as well as medium buffers r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486706/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486706/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255304"
    },
    "phid": "PHID-DIFF-o33egqdq6kv4vkgngbdd",
    "review_task_id": "UT8bdIkRT9aczxeWr65qhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebe38a5b2fe9bbf6e8c52c22b2df4ee238e1603d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087353/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:33:40.165177Z"
}