List and retrieve diffs with detailed revision information

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

{
    "id": 1064427,
    "revision": {
        "id": 480875,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "782efead5c631ad975aa3f3677ecd3f4620ca84f",
        "head_changeset": "95aae63d82b0cc183c7e0af7527983434456e23d",
        "phabricator_id": 254076,
        "phabricator_phid": "PHID-DREV-i67eo4kcpz2ohlmdei5s",
        "title": "Bug 1967102 - add regression test for setParameters timing;r?pehrsons",
        "bugzilla_id": 1967102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480875/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480875/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254076"
    },
    "phid": "PHID-DIFF-yea52tpz6v6fsj6zawyq",
    "review_task_id": "a7Ly2jXpQJCLeGhANe7ZIg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "95aae63d82b0cc183c7e0af7527983434456e23d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064427/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:43:44.172567Z"
}