List and retrieve diffs with detailed revision information

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

{
    "id": 1065864,
    "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-qppp72zg2uzo6lz3ehan",
    "review_task_id": "fTkkvI-rSdaDxC584lcudA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b46fa8b1c7a648cdfabe233c51377c6273d52106",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T08:54:05.190520Z"
}