List and retrieve diffs with detailed revision information

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

{
    "id": 1058686,
    "revision": {
        "id": 478649,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4c7db07423ab7d1e3be6b6af2afa963dd20ed02d",
        "head_changeset": "4acddc08d727f672157a93e7a4a27677835da7e8",
        "phabricator_id": 253699,
        "phabricator_phid": "PHID-DREV-5ef7x5jxzuep7vhhhxjw",
        "title": "Bug 1936811 - Hardcode dependent files within the generate_crash_reporter_sources script r=gsvelto",
        "bugzilla_id": 1936811,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478649/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478649/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253699"
    },
    "phid": "PHID-DIFF-i3o4dhdxjqkdzh5uf3t3",
    "review_task_id": "MG_UDF9QQ-C0fcBvPo6OMA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "60a23e82eb05ac735dbf009bb53d933890353a6c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058686/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T19:51:16.306805Z"
}