List and retrieve diffs with detailed revision information

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

{
    "id": 1054391,
    "revision": {
        "id": 477474,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a7e1ee3a998b37aa3cb56e78e6fccb1ba2244270",
        "head_changeset": "c42b51c9bf89b9dbc0dbb7adc0096447e1b918c8",
        "phabricator_id": 252564,
        "phabricator_phid": "PHID-DREV-vjt7y5emizobmiumkwep",
        "title": "Bug 1956634 - Fix Firefox View tests when HTML clear search button is enabled. r=#fxview-reviewers",
        "bugzilla_id": 1956634,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477474/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477474/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252564"
    },
    "phid": "PHID-DIFF-chjfrx5bbe7dvpwkffxn",
    "review_task_id": "YOHvT3FLRG2Ren650Ct-Tw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5e3371ef98783b05ebe5e25b988d6084a4d1c87d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054391/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T15:22:31.025838Z"
}