List and retrieve diffs with detailed revision information

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

{
    "id": 1057171,
    "revision": {
        "id": 474734,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "abcc9e651375c4437a4b23e44b2a4fe377cca9d7",
        "head_changeset": "e0dc7c09ce3e0ade1a1014b2d793f801fa915ad1",
        "phabricator_id": 248879,
        "phabricator_phid": "PHID-DREV-6vw5no25hpi5ap3chjly",
        "title": "Bug 1965705 - Part 1. Add plumbing to track software/hardware encoding status to MediaCodecsSupport.",
        "bugzilla_id": 1965705,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474734/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474734/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248879"
    },
    "phid": "PHID-DIFF-6zwtqleym7bnxww45m6q",
    "review_task_id": "bkbak_1MRdiRQlYWc5yy_Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d4591df93fac895289cc612b2af84f3ceb5e95bb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057171/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T22:34:48.727730Z"
}