List and retrieve diffs with detailed revision information

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

{
    "id": 1079895,
    "revision": {
        "id": 492571,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "08fd82e61e1a1a733fb02ad0d8a709ea74d50f45",
        "head_changeset": "439fc58cbcc9b1950dffd658828246639d5ae524",
        "phabricator_id": 256555,
        "phabricator_phid": "PHID-DREV-gbfexzv333ow6mk7hfis",
        "title": "Bug 1976372 - part 3: Move the definition of the child class of `AutoDeleteRangesHandler::AutoBlockElementsJoiner` outside r=m_kato!",
        "bugzilla_id": 1976372,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492571/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492571/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256555"
    },
    "phid": "PHID-DIFF-wxakd2udreslxpac6vgi",
    "review_task_id": "PhrUQqodSP2lMWHdo_H4jw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "439fc58cbcc9b1950dffd658828246639d5ae524",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079895/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T02:11:52.773622Z"
}