List and retrieve diffs with detailed revision information

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

{
    "id": 1064034,
    "revision": {
        "id": 477976,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5fad899f62acd5160b260ec60c4a76c0d811984a",
        "head_changeset": "49cdcd4ad5782f3620f32b01466382f2a212c7a1",
        "phabricator_id": 253144,
        "phabricator_phid": "PHID-DREV-6fk2ufunu7aafcl2i4hz",
        "title": "WIP: Bug 1964413 - Extend serviceworker.txt to store additional data",
        "bugzilla_id": 1964413,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477976/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477976/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253144"
    },
    "phid": "PHID-DIFF-mhh3dewtulr7my55rtwj",
    "review_task_id": "BYDlZlTNQYGmqcDd5qvkFg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e2a660eff5074fb44e21eb1cef52826e3df4939d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064034/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T12:16:43.461220Z"
}