List and retrieve diffs with detailed revision information

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

{
    "id": 1059397,
    "revision": {
        "id": 399181,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "dc5a28b24f94d8fdb17a970843c2c6b88a012d66",
        "head_changeset": "42907991a363c9d99f99b4ddcc0c7ddc1127b3ad",
        "phabricator_id": 229272,
        "phabricator_phid": "PHID-DREV-m5j4fs2gu66cgkcshifw",
        "title": "Bug 1727116: Use MediaEventSource instead of sigslot in MediaTransportHandler's API. r?mjf",
        "bugzilla_id": 1727116,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/399181/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/399181/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229272"
    },
    "phid": "PHID-DIFF-aufuvqosbozfwxyzgdep",
    "review_task_id": "YPQx9YNFTkiQ2oyFlfucQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1723305c685968ed907638ff85dcc44a12163904",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059397/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:44:49.652116Z"
}