List and retrieve diffs with detailed revision information

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

{
    "id": 1065908,
    "revision": {
        "id": 482065,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ce204bffc1273f5d1021a8cfc34f2caa77126aec",
        "head_changeset": "b46fa8b1c7a648cdfabe233c51377c6273d52106",
        "phabricator_id": 254342,
        "phabricator_phid": "PHID-DREV-ndl3ohjiklmbepavxtlz",
        "title": "Bug 1962880 - Get the download directory correctly for the profiler POSIX signal profiling r?florian!",
        "bugzilla_id": 1962880,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482065/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482065/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254342"
    },
    "phid": "PHID-DIFF-7up4jy6rzb45angflfjq",
    "review_task_id": "NFRUBObqQ0Gf7-J5d1K33Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b8c40ed9a5d23f9a048c6546f2e9cd885e8b4bd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065908/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T11:12:19.342860Z"
}