List and retrieve diffs with detailed revision information

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

{
    "id": 1109629,
    "revision": {
        "id": 516926,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "4361770747ff350f7f1196b338bd211053e73719",
        "phabricator_id": 261922,
        "phabricator_phid": "PHID-DREV-6gdadwnxkndmgaazyj3r",
        "title": "Bug 1984329 - Add support for services/ resource aliases to use-moz-src command. r?Gijs!",
        "bugzilla_id": 1984329,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516926/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516926/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261922"
    },
    "phid": "PHID-DIFF-azneufuankf75ernwvau",
    "review_task_id": "IFC6BCD5Sny6OdIDQmSndA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1917afcfc596914f877e3868b5de6e8c6aa2da1a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109629/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T16:46:00.036128Z"
}