List and retrieve diffs with detailed revision information

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

{
    "id": 1052170,
    "revision": {
        "id": 477194,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "10739603ee34408c4aae47226ada97efced2a014",
        "head_changeset": "3c3ad5bd8fcc5f9d0bea8186f6344a4a307e820e",
        "phabricator_id": 252276,
        "phabricator_phid": "PHID-DREV-5y5x6wbqiafgl3tbhs3b",
        "title": "Bug 1968878 - Fix existing-folder check in Pop3IncomingServer.deferredToAccount. r=#thunderbird-reviewers",
        "bugzilla_id": 1968878,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477194/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477194/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252276"
    },
    "phid": "PHID-DIFF-5nc4zi3hmgrlsdhux65k",
    "review_task_id": "QoB2w18AR7eRNabKRQxE0A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5d99e3f58d371afc3d5be0d03c48862707b98b66",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052170/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T19:45:11.979411Z"
}