List and retrieve diffs with detailed revision information

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

{
    "id": 1075678,
    "revision": {
        "id": 488730,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3ef458305fa4b63ec25c59bec85dbc3a2044221a",
        "head_changeset": "e4568822228ff8d5a61a6e489ef6a56004a2a861",
        "phabricator_id": 255594,
        "phabricator_phid": "PHID-DREV-uoqlzya5ks5b3yobthqp",
        "title": "Bug 1974424 - Handle remoteAccountSubview submission. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488730/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488730/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255594"
    },
    "phid": "PHID-DIFF-72toteu74y3xyzueikhj",
    "review_task_id": "ZX0KOkT8RGGdoYAJPpBwUw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e4568822228ff8d5a61a6e489ef6a56004a2a861",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075678/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T01:11:47.187047Z"
}