List and retrieve diffs with detailed revision information

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

{
    "id": 1058130,
    "revision": {
        "id": 478322,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6d252b985288291b128a20cd744bd5135ff49e38",
        "head_changeset": "911f8df8d543eb029b997fbdeece76262782ed31",
        "phabricator_id": 253557,
        "phabricator_phid": "PHID-DREV-u5i2nvvxwsewovzmh6ij",
        "title": "Bug 1970766 - Replace `boto3` with `apache-libcloud` r?ahal",
        "bugzilla_id": 1970766,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478322/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478322/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253557"
    },
    "phid": "PHID-DIFF-7oc73uewee4zolcmgrcp",
    "review_task_id": "DCzvPodtQDSKBkjctK3Fag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6d9d4b1b72c95bae3be64bcb954300cb674faea6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058130/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T03:46:53.244888Z"
}