List and retrieve diffs with detailed revision information

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

{
    "id": 1039309,
    "revision": {
        "id": 475730,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1e4c133e92e12988fc89a691aa5c24b43741fa80",
        "head_changeset": "5021fc78cba7d1744571235687fbddcd305f435a",
        "phabricator_id": 250298,
        "phabricator_phid": "PHID-DREV-l5obxjvxinebi32pgsex",
        "title": "WIP: Bug 1953415 - [devtools] Remove CM5 code related to the Search Component",
        "bugzilla_id": 1953415,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475730/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475730/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250298"
    },
    "phid": "PHID-DIFF-tsyl5cb34c3xxb5uin2t",
    "review_task_id": "BvWjHz-lR92nxM2pluMxhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "229df7ae6e84dd9b54d93b02562946dd2b6f4bc3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039309/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T23:56:35.933973Z"
}