List and retrieve diffs with detailed revision information

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

{
    "id": 1055913,
    "revision": {
        "id": 477998,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "56dabce61b8a6587d7af3975c93d0d751ff1da22",
        "head_changeset": "0b76d2a873172427d2053b9abb4aade70fbe7dae",
        "phabricator_id": 253171,
        "phabricator_phid": "PHID-DREV-fmc2j2fihorhbehhwbjp",
        "title": "Bug 1971319 - Fix local linting for white / black list rule. r=#thunderbird-reviewers",
        "bugzilla_id": 1971319,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477998/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477998/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253171"
    },
    "phid": "PHID-DIFF-cfjplfmmjyry6qpwfwyi",
    "review_task_id": "ZKqNYlRDR1iqvlz1sxTSYw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0b76d2a873172427d2053b9abb4aade70fbe7dae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055913/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T14:04:39.403061Z"
}