List and retrieve diffs with detailed revision information

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

{
    "id": 1055479,
    "revision": {
        "id": 477930,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5a60d59098dd04717e2f303a9819b53c59a2d59e",
        "head_changeset": "e216921dc4b262e0218bc8a459c8cb517d3c9ba0",
        "phabricator_id": 253093,
        "phabricator_phid": "PHID-DREV-a6e6yhf6xzgg44inmhgc",
        "title": "Bug 1970522 - Replaced 'json' with 'mozfile.json' in python/mach directory. r=#build",
        "bugzilla_id": 1970522,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477930/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477930/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253093"
    },
    "phid": "PHID-DIFF-jwqwjtkxhdr2mumptljb",
    "review_task_id": "UVRURVVRTyeK9UkLw4bS1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7677c9203fc143fb5d3876cd72a00ce2768f6f78",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055479/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T21:47:50.353488Z"
}