List and retrieve diffs with detailed revision information

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

{
    "id": 1073301,
    "revision": {
        "id": 485855,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "15f293ff7a8e7c0ff790fb78977d2748cb84ec25",
        "head_changeset": "8b054a6b46a586274388cf7abb4a8e8717d3bde4",
        "phabricator_id": 255115,
        "phabricator_phid": "PHID-DREV-eew5re6tksa6gb5e347o",
        "title": "WIP: Bug 1973890 [Wayland] Implement wayland buffer commit transactions",
        "bugzilla_id": 1973890,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485855/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485855/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255115"
    },
    "phid": "PHID-DIFF-ua5neknegzqxkyopqbnb",
    "review_task_id": "C9jP2KmJQvad5e4eZwtl5w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8b054a6b46a586274388cf7abb4a8e8717d3bde4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073301/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T12:55:08.415247Z"
}