List and retrieve diffs with detailed revision information

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

{
    "id": 1081387,
    "revision": {
        "id": 486715,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "c9df3c0725499b7b4555f925436d75bae7a30d84",
        "phabricator_id": 255300,
        "phabricator_phid": "PHID-DREV-yjzl5wh43znqxrit23an",
        "title": "Bug 1973033 - Part 5: Allocate small buffers out of medium buffers r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486715/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486715/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255300"
    },
    "phid": "PHID-DIFF-why37quglhje7esg6li2",
    "review_task_id": "f43D1nXiSnCty4wfhuyVZw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "318f8fe9c48499498180786a6d9f786e93bf5ffc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081387/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T09:33:48.394161Z"
}