List and retrieve diffs with detailed revision information

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

{
    "id": 1039413,
    "revision": {
        "id": 475812,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e055d37609e494df51320da417da18234140f0cb",
        "head_changeset": "afae969afa6506173bf4f52a96f3cae1fa4c8cf2",
        "phabricator_id": 250378,
        "phabricator_phid": "PHID-DREV-ojelg6nsb2vba5tsusq7",
        "title": "Bug 1967636 - Remove more unnecessary CSS padding rules on Linux. r?emilio",
        "bugzilla_id": 1967636,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475812/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475812/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250378"
    },
    "phid": "PHID-DIFF-vwxnml6ls6qx2p4j7r7g",
    "review_task_id": "bov6LGXVSd6p96z-CIktRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "afae969afa6506173bf4f52a96f3cae1fa4c8cf2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039413/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T02:26:37.249630Z"
}