List and retrieve diffs with detailed revision information

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

{
    "id": 1031633,
    "revision": {
        "id": 471446,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4bbc39703afd169d2a2ff8f052faf2a95bd5f46d",
        "head_changeset": "b8d077bb05c01fcd44e899c193c7d6b7aa2af573",
        "phabricator_id": 244246,
        "phabricator_phid": "PHID-DREV-rsx7aiqiqgu6ipmetthk",
        "title": "Bug 1958081 - [devtools] Introduce a test framework to ease testing all possible JavaScript types against various codebases",
        "bugzilla_id": 1958081,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471446/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471446/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244246"
    },
    "phid": "PHID-DIFF-zawdw4gul5wn4c5ymth6",
    "review_task_id": "dVvIf2d_QqiiJpIA7U7_0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "70c4a4c9f901f123ae8513e566b78b9647836fd6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1031633/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T12:28:12.249496Z"
}