List and retrieve diffs with detailed revision information

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

{
    "id": 1064213,
    "revision": {
        "id": 477377,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "49260e9038d35d8f3f5d91569b17f35924476c5d",
        "phabricator_id": 250607,
        "phabricator_phid": "PHID-DREV-mi2ea7cypmfovqzcy4cz",
        "title": "WIP: Bug 1964992 - Allow to add/remove optional data collection perms in GeckoView.",
        "bugzilla_id": 1964992,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477377/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477377/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250607"
    },
    "phid": "PHID-DIFF-5wrmkvwxw6zvzydtf62o",
    "review_task_id": "Bf9waNHWScSxKXPOqn4xnw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0efa1381edaf857fd9852e23fbec4c63ad7605c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064213/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T16:38:15.303927Z"
}