List and retrieve diffs with detailed revision information

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

{
    "id": 1056686,
    "revision": {
        "id": 477919,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f2b9d4c02a75a833b2b73d9abdab4b6a301d74e7",
        "head_changeset": "f0dfb453da45fc0ad45bd3a347ffb35a7d3c7d46",
        "phabricator_id": 253086,
        "phabricator_phid": "PHID-DREV-fbovlotx3xxxtzalow27",
        "title": "Bug 1965601 - Part 6. Allow RemoteImageHolder to deserialize RGB surface descriptors.",
        "bugzilla_id": 1965601,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477919/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477919/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253086"
    },
    "phid": "PHID-DIFF-ahe7oqtvtrlawefhxrbg",
    "review_task_id": "MXu9xIAOTDOtpooRUF1JDQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "facc9ca0bfc5889d559ab8c05dc8d30bd8235e8f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056686/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T13:29:38.560753Z"
}