List and retrieve diffs with detailed revision information

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

{
    "id": 1081000,
    "revision": {
        "id": 493483,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b5b88be6bde3639bbab4dd87d4ee360841c7d9e2",
        "head_changeset": "7e16ad1bb44ccbe1868b13e889bdbd42e199b67f",
        "phabricator_id": 256856,
        "phabricator_phid": "PHID-DREV-o4u36na4di35xd7nsyzt",
        "title": "Bug 1916197 - Increase the \"Close tab\" text foreground to background contast ratio on the tab crash reporter page r=Roger",
        "bugzilla_id": 1916197,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493483/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493483/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256856"
    },
    "phid": "PHID-DIFF-zvbfa3ldg4x25scr7pu6",
    "review_task_id": "DgK62j_4THy-N6XvY7uojw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7e16ad1bb44ccbe1868b13e889bdbd42e199b67f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081000/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T18:19:41.820371Z"
}