List and retrieve diffs with detailed revision information

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

{
    "id": 1101072,
    "revision": {
        "id": 506978,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "99e2525eb369a500d2037ba5846f390a7fc84e0a",
        "head_changeset": "09945f53dff9da621c8bf27d9d6089e100a1d24a",
        "phabricator_id": 259996,
        "phabricator_phid": "PHID-DREV-y36wjnl2bxnmy65xlga3",
        "title": "Bug 1978596 - part 3 - Update macrobenchmark parsing script to support the new test names r=#android-reviewers",
        "bugzilla_id": 1978596,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506978/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506978/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259996"
    },
    "phid": "PHID-DIFF-5pohv4skksmawcyoylwg",
    "review_task_id": "R9O5fyxORLm2yf4TQ8QdbQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "09945f53dff9da621c8bf27d9d6089e100a1d24a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101072/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T17:03:22.368980Z"
}