List and retrieve diffs with detailed revision information

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

{
    "id": 1078698,
    "revision": {
        "id": 490764,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fd29b056b9af38b9a8ac793ee8306e84864377be",
        "head_changeset": "3c8725ff734038167d208116657f5db5ec1a145f",
        "phabricator_id": 256115,
        "phabricator_phid": "PHID-DREV-lp7sirko3qah36fpas2h",
        "title": "Bug 1975174 - Fix rotateAxisAngleSelf not to always call Ensure3DMatrix r=smaug",
        "bugzilla_id": 1975174,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490764/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490764/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256115"
    },
    "phid": "PHID-DIFF-5p5fqzr4lizjazjmyxty",
    "review_task_id": "X01Q7rKyQN-dtz3m8enbAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "18ec25d817fae166e463d92ec5ea1449d674fa06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078698/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T12:39:41.476045Z"
}