List and retrieve diffs with detailed revision information

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

{
    "id": 1067066,
    "revision": {
        "id": 483836,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f0d0bfd6798309be41a01beeb8b046aa34b53b82",
        "head_changeset": "a48d269a577d70073b3e8688439f534421d47eee",
        "phabricator_id": 254631,
        "phabricator_phid": "PHID-DREV-klqubgkdqrh3zggmthmv",
        "title": "Bug 1973422 - QM: Enable origin metadata file updates after initialization on Nightly and Linux; r=#dom-storage",
        "bugzilla_id": 1973422,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483836/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483836/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254631"
    },
    "phid": "PHID-DIFF-ptum2y25oftuqmeooqwb",
    "review_task_id": "TaUaf8AsT9aZdHfvoH9McQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a48d269a577d70073b3e8688439f534421d47eee",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067066/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T04:21:16.028093Z"
}