List and retrieve diffs with detailed revision information

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

{
    "id": 1072266,
    "revision": {
        "id": 477260,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "964b74547e49f173c01dd9b770c0acdc5bb2cc3d",
        "head_changeset": "03dc4420f27180e1f58724f138b08f56dcb7d5be",
        "phabricator_id": 251378,
        "phabricator_phid": "PHID-DREV-a4szqlgbweg75o5jcu7a",
        "title": "Bug 1953740 - part 10 - Handle interactions in the awesomebar composable r=#android-reviewers",
        "bugzilla_id": 1953740,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477260/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477260/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251378"
    },
    "phid": "PHID-DIFF-sjwebvo4p63nmdmnggby",
    "review_task_id": "bov8mSe-T26tJxrYmZXQgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e5d93db5ef8082274c0e860db636b69099f3b682",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072266/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:45:31.080092Z"
}