List and retrieve diffs with detailed revision information

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

{
    "id": 1105344,
    "revision": {
        "id": 507401,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "52fde1dc25c28000f5be7c72e68e1c8d11c82598",
        "head_changeset": "e15f410274d8269597cd36728ecf1884f34491d8",
        "phabricator_id": 260123,
        "phabricator_phid": "PHID-DREV-33qhph3jxw5fds6bgfen",
        "title": "WIP: Bug 1966327 - Add Rust Logins Storage Adapter and Integration Infrastructure, r=dimi",
        "bugzilla_id": 1966327,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507401/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507401/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260123"
    },
    "phid": "PHID-DIFF-pitctx76wpxirtvpazxs",
    "review_task_id": "dtqL9JtiSgO9obVpbp-YXA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "89fc957d5dcc342ca8a032ad36bca2ebb265ce27",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105344/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:00:00.247411Z"
}