List and retrieve diffs with detailed revision information

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

{
    "id": 1081331,
    "revision": {
        "id": 493819,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c2cd7d9f332c6238b649bb7f6895b487ee214a87",
        "head_changeset": "1a3485273843aaa2ddfc7029a59a5266d7475be0",
        "phabricator_id": 256951,
        "phabricator_phid": "PHID-DREV-t4pt3qjj7lsfgtqbuhiv",
        "title": "Bug 1976504 - Remove \"localize_entity\" from l10n and its relevant tests. r=whimboo",
        "bugzilla_id": 1976504,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493819/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493819/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256951"
    },
    "phid": "PHID-DIFF-e5vrosj5loc5zc3vnc34",
    "review_task_id": "FdmuxxV8ROCdKqHLqFMFyA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1a3485273843aaa2ddfc7029a59a5266d7475be0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081331/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T08:03:23.348780Z"
}