List and retrieve diffs with detailed revision information

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

{
    "id": 1076593,
    "revision": {
        "id": 489449,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "476169571f16db0fb5df238b0cf8fa51e5252bd0",
        "head_changeset": "fd7616c67d5f483661faade67edd72e2f986d380",
        "phabricator_id": 255786,
        "phabricator_phid": "PHID-DREV-6vqoedrcmgm4jaq7lkrk",
        "title": "Bug 1975173 - Re-enable searchHistoryNotRememberedInPrivateBrowsingTest and verifySearchShortcutChangesAreReflectedInSearchSelectorMenuTest UI tests",
        "bugzilla_id": 1975173,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489449/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489449/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255786"
    },
    "phid": "PHID-DIFF-x5sdywrxetenpkyqvvbw",
    "review_task_id": "NW9NYvC6TtCZ2VjSVtjRWw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fd7616c67d5f483661faade67edd72e2f986d380",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076593/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T12:50:43.897475Z"
}