List and retrieve diffs with detailed revision information

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

{
    "id": 1087819,
    "revision": {
        "id": 495549,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "23a28f09bacddbf4ecc7e8a074d602545266bc95",
        "head_changeset": "2536c0d652197a1b9192ea81e96e8fa0aedefb9d",
        "phabricator_id": 257221,
        "phabricator_phid": "PHID-DREV-ad3zhbilqizgkhzc6dew",
        "title": "Bug 1976823 - Have TranslationsBinding clear only the translations snackbar r=#android-reviewers",
        "bugzilla_id": 1976823,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495549/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495549/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257221"
    },
    "phid": "PHID-DIFF-c4gjnglpvbyg6gbdkzl6",
    "review_task_id": "MZNaLXYJTBOODKdFFq_PxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebefc990fddc4659594442e50167db67ba658bda",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087819/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T07:36:27.241911Z"
}