List and retrieve diffs with detailed revision information

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

{
    "id": 1059586,
    "revision": {
        "id": 479969,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b37d1f6c73765b922b2271435ee3a1daa4f11a15",
        "head_changeset": "925f852e2236686499d5e45399a1937325bbf16d",
        "phabricator_id": 253868,
        "phabricator_phid": "PHID-DREV-pffa6qkfyd6vtmsoksom",
        "title": "Bug 1972388 - Fix flaky check in browser_object_attachment",
        "bugzilla_id": 1972388,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479969/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479969/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253868"
    },
    "phid": "PHID-DIFF-4c5hh5ijwcikxqhec4jr",
    "review_task_id": "d_oLgpoiQGeV0oUmxlI7yQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "925f852e2236686499d5e45399a1937325bbf16d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059586/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T19:12:42.729339Z"
}