List and retrieve diffs with detailed revision information

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

{
    "id": 1111559,
    "revision": {
        "id": 520718,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "707ef3c09b5f821a3763b34dda5ecf70c5d74c15",
        "head_changeset": "442abe65281de00070d038fcc2e1bb7d1635d834",
        "phabricator_id": 262527,
        "phabricator_phid": "PHID-DREV-ffasjagw5o7duxy27uan",
        "title": "Bug 1982985: UiaTextRange::FindText: Don't match text before the start of the range in the same leaf. r?eeejay",
        "bugzilla_id": 1982985,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520718/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520718/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262527"
    },
    "phid": "PHID-DIFF-7xrglpswp7c3f6yuy2r3",
    "review_task_id": "OAhcJQcaQpSP0jMZGHAYdg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "442abe65281de00070d038fcc2e1bb7d1635d834",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111559/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T02:09:11.207446Z"
}