List and retrieve diffs with detailed revision information

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

{
    "id": 1052682,
    "revision": {
        "id": 474000,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5b5bd7e730096ef3867efe107dc97fb4a38a489a",
        "head_changeset": "ebac6b3792d86f4fa48536efb5b349d5015970ea",
        "phabricator_id": 247800,
        "phabricator_phid": "PHID-DREV-qmxqg3bkyq5vmidiwvjf",
        "title": "Bug 1960053 - Do not CancelAnimation if the APZ state is NOTHING. r?hiro,botond",
        "bugzilla_id": 1960053,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474000/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474000/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247800"
    },
    "phid": "PHID-DIFF-etoqaxdydthf5lnhknpp",
    "review_task_id": "ShZezJ6FRxGWzyY0PvncNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5dc4fbed6dc1089efb0faabefad52f50822712c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052682/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T13:49:51.670882Z"
}