List and retrieve diffs with detailed revision information

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

{
    "id": 1113583,
    "revision": {
        "id": 517926,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef4c9d7ea848d5bf769ec81eb1a1c98291e7df53",
        "head_changeset": "abea903285db13c060c8b5e3bc2b6fc910f5a3ce",
        "phabricator_id": 262096,
        "phabricator_phid": "PHID-DREV-gnsyy6sefrlv6shdbtvs",
        "title": "Bug 1286945 - Break out StartCapture() from MERVS::Start() and move MERVS::Reconfigure to use it directly. r?jib",
        "bugzilla_id": 1286945,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517926/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517926/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262096"
    },
    "phid": "PHID-DIFF-fedqgkw3wcmlaswbvcyv",
    "review_task_id": "EyktuG3wT46zl0rmzON7Zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fd77f51142a6747cf8db8b6ba2a2a00190a180d3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113583/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-28T14:20:07.761994Z"
}