List and retrieve diffs with detailed revision information

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

{
    "id": 1072177,
    "revision": {
        "id": 483743,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8096edc2438e60a336166e56fd693ce85659d3d0",
        "head_changeset": "da0297f4a613485e427073ed962a43ce9ad5a3d0",
        "phabricator_id": 254616,
        "phabricator_phid": "PHID-DREV-6emek5q7u5z6bblt3m77",
        "title": "Bug 1901338 - Close NNTP connections after an adjustable timeout. r=#thunderbird-reviewers",
        "bugzilla_id": 1901338,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483743/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483743/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254616"
    },
    "phid": "PHID-DIFF-gurqayycyorrmrhopspz",
    "review_task_id": "OAFntdwxTEiiKq3Ctv06-w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d87ab3863126e80485e245c9718e3153ad310d55",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072177/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T11:57:29.021964Z"
}