List and retrieve diffs with detailed revision information

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

{
    "id": 1087900,
    "revision": {
        "id": 496865,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "a5e3fc157c226b4c2d51aa5eb1b43395c660870e",
        "phabricator_id": 257668,
        "phabricator_phid": "PHID-DREV-3fifkve4pq4nlmgqdl3w",
        "title": "Bug 1977789 - Fix input label spacing with max font size in account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1977789,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496865/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496865/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257668"
    },
    "phid": "PHID-DIFF-7yrhwoxdfdjmduvjzck6",
    "review_task_id": "ZG_DLe1ZSaW0O5oLSEFeUQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a5e3fc157c226b4c2d51aa5eb1b43395c660870e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087900/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T10:21:23.896682Z"
}