List and retrieve diffs with detailed revision information

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

{
    "id": 1046756,
    "revision": {
        "id": 476355,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "97f016475d34699c543823d4912fd7f1b24af031",
        "head_changeset": "21c8a694a734ba98a6539ff5317106cbde2438c0",
        "phabricator_id": 251212,
        "phabricator_phid": "PHID-DREV-vpziqb73oj5cx7cwcymc",
        "title": "Bug 1964548 - Use cssparser to parse the pseudo element string in getComputedStyle() and animate().",
        "bugzilla_id": 1964548,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476355/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476355/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251212"
    },
    "phid": "PHID-DIFF-ywkstdtrt37jhwqjsor6",
    "review_task_id": "RXNXiQ_0SkeCyL8gOTCSNg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a1c9f77925f28cdf58a64395b7083a481bd307ac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046756/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T20:37:11.176468Z"
}