List and retrieve diffs with detailed revision information

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

{
    "id": 1064714,
    "revision": {
        "id": 456634,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "b63ede0b3788cc0d361051fcd1657e9dd32236ed",
        "phabricator_id": 238863,
        "phabricator_phid": "PHID-DREV-vhrxxgxaj4enhkvaig6f",
        "title": "WIP: Bug 1927886: Now that we've brought close() up-to-spec, this doesn't do anything.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456634/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456634/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238863"
    },
    "phid": "PHID-DIFF-r7wrtck6lb6y7mb2rwed",
    "review_task_id": "LrsnFBYkSkGCLtFC_USeHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8dacf52b9f3eb1c9196a038b68e8d13f61b38aa1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064714/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T02:48:10.902629Z"
}