List and retrieve diffs with detailed revision information

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

{
    "id": 1111432,
    "revision": {
        "id": 520577,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8b5aa5dd9c72743cc11ab2f54408fd0a6620b7b6",
        "head_changeset": "17a1a278a976211a4b882606c08949bfc515f651",
        "phabricator_id": 262489,
        "phabricator_phid": "PHID-DREV-7el5cyz4nqy4km44rmui",
        "title": "Bug 1985147 - Use the mail secure icon for EWS accounts in popup and folders. r=#thunderbird-reviewers",
        "bugzilla_id": 1985147,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520577/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520577/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262489"
    },
    "phid": "PHID-DIFF-ssvrztmt2ommnddsnxlh",
    "review_task_id": "PiO3SmqjTe21-nuryPtf6A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "17a1a278a976211a4b882606c08949bfc515f651",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111432/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T21:54:48.075110Z"
}