List and retrieve diffs with detailed revision information

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

{
    "id": 1078694,
    "revision": {
        "id": 491425,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96fc24855eb37df1481106fc25a5e27af05b7cf3",
        "head_changeset": "816c75b5ceb218c0e9e23cf3d46121a5e1afb4f1",
        "phabricator_id": 256263,
        "phabricator_phid": "PHID-DREV-2hbwe2l47guuizxh2o6e",
        "title": "Bug 1975553 - Fix typo in test browser_html_list_view.js",
        "bugzilla_id": 1975553,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491425/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491425/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256263"
    },
    "phid": "PHID-DIFF-cb5ichgbifzaigm7zge6",
    "review_task_id": "MKIs7_qDSSWSblxRaeQouA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "816c75b5ceb218c0e9e23cf3d46121a5e1afb4f1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078694/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T12:25:24.116467Z"
}