List and retrieve diffs with detailed revision information

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

{
    "id": 1073493,
    "revision": {
        "id": 485991,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "016fef62bcaa667eb135ae4086e2a973ec1979c5",
        "head_changeset": "98ae278b320ea024b89322ae4571157017feaef7",
        "phabricator_id": 255151,
        "phabricator_phid": "PHID-DREV-himtzs5hgpyearujgsni",
        "title": "Bug 1973275 - Refactor logic of sending WebCompat info to webcompat.com and use it in the menu if telemetry is disabled",
        "bugzilla_id": 1973275,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485991/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485991/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255151"
    },
    "phid": "PHID-DIFF-ajls2qjspdiy3wtx7pto",
    "review_task_id": "E_t19gtQTkG1qMBcjlRfSg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "98ae278b320ea024b89322ae4571157017feaef7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073493/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T16:28:14.299503Z"
}