List and retrieve diffs with detailed revision information

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

{
    "id": 1081717,
    "revision": {
        "id": 490407,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "08a110d7f4cf368977dcbad77016e54383e4b9c8",
        "head_changeset": "5c90eca3b5cb1385234263755a3321e2a00943fd",
        "phabricator_id": 256037,
        "phabricator_phid": "PHID-DREV-m5akacw6j4xun4bds46y",
        "title": "Bug 1961688 - Compute values for breakout perf test instead of using magic numbers. r?jteow",
        "bugzilla_id": 1961688,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490407/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490407/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256037"
    },
    "phid": "PHID-DIFF-74jkfuoc3njjtl2pxsc2",
    "review_task_id": "S0YQwQymTpOUORlNDRnBxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "00bc9459964f703c5ef4df081832262bcf7c8e91",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081717/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:40:22.806654Z"
}