List and retrieve diffs with detailed revision information

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

{
    "id": 1077864,
    "revision": {
        "id": 490525,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "33047ee34c367e7eadc42e822016901b405da326",
        "head_changeset": "83948260902257a60cae766af2b579d7d92e8f19",
        "phabricator_id": 256072,
        "phabricator_phid": "PHID-DREV-bxjdeyblfbwfhg67vpxx",
        "title": "Bug 1974424 - Initialize address book sync subview for discovered CardDAV address books via manual flow. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490525/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490525/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256072"
    },
    "phid": "PHID-DIFF-6xqhlsqvsdurc2vbnl4b",
    "review_task_id": "Hr6q9RrQSXW8Y33Cc3eJ7A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "83948260902257a60cae766af2b579d7d92e8f19",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T04:37:27.645423Z"
}