List and retrieve diffs with detailed revision information

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

{
    "id": 1075747,
    "revision": {
        "id": 488853,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e712e556ccb527dc27eaae3674f024f5a86ec1d9",
        "head_changeset": "b47129445d1478edc8afc59560b6170f2eb97e02",
        "phabricator_id": 255606,
        "phabricator_phid": "PHID-DREV-qi6zsbsl2ytyhnqnfqen",
        "title": "Bug 1974334: Change SMILAnimationFunction::CompareTo to return int32_t instead of int8_t. r?longsonr,emilio",
        "bugzilla_id": 1974334,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488853/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488853/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255606"
    },
    "phid": "PHID-DIFF-eknxf3njulhi6ljvzo4t",
    "review_task_id": "KXHWFQUAShWgC_CrumawBg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b47129445d1478edc8afc59560b6170f2eb97e02",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075747/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T06:15:42.709600Z"
}