List and retrieve diffs with detailed revision information

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

{
    "id": 1058486,
    "revision": {
        "id": 477999,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "8e937a5dbb99c12a33925be537e7e8214eb3afb1",
        "phabricator_id": 253168,
        "phabricator_phid": "PHID-DREV-gmnffcitns76abi4df2f",
        "title": "WIP: Bug 1963853 - Migrate 'third-party-modules' ping to Glean r?janerik,gstoll",
        "bugzilla_id": 1963853,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477999/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477999/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253168"
    },
    "phid": "PHID-DIFF-dxmissmqi4tyrrlh3xuc",
    "review_task_id": "W2aDPVXMR5Oow327z7OA0w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e8d2f0c737c2c43cd40d41a4f8fb5f609bc1e866",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058486/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T15:50:04.438418Z"
}