List and retrieve diffs with detailed revision information

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

{
    "id": 1107700,
    "revision": {
        "id": 515189,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "fa8a3b132daa0c9bb1959dc6850a5ec2f6a9c25b",
        "phabricator_id": 261540,
        "phabricator_phid": "PHID-DREV-3slj4pyhf3mz6c5zuq5t",
        "title": "Bug 1982806 - For rotation about an axis parallel to the x/y/z-axis but in the reversed direction, negate the angle when serializing. r=#style",
        "bugzilla_id": 1982806,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515189/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515189/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261540"
    },
    "phid": "PHID-DIFF-lfcvkqbruryo7bzsse7r",
    "review_task_id": "M0q5cddwQVK8-NlWQUU0ZA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa8a3b132daa0c9bb1959dc6850a5ec2f6a9c25b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107700/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T11:04:05.767425Z"
}