List and retrieve diffs with detailed revision information

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

{
    "id": 1087377,
    "revision": {
        "id": 496426,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4ce48810c827ec15ca9a06a6107fb6531a708aad",
        "head_changeset": "19fe896068a72754f183e67e8013d86f41f4ad1b",
        "phabricator_id": 257543,
        "phabricator_phid": "PHID-DREV-qafo4idav7ktrljhelvt",
        "title": "Bug 1974424 - Store password from CardDAV address book if requested by the flow. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496426/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496426/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257543"
    },
    "phid": "PHID-DIFF-c3nzs6ohezhcobtnndh6",
    "review_task_id": "VueW6YzZRH2IhhqhnRSbGA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "19fe896068a72754f183e67e8013d86f41f4ad1b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087377/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:20:59.278941Z"
}