From 89ffbc0e4da6a8b63cbfc37b1fc44f608e6124ad Mon Sep 17 00:00:00 2001 From: Claude Fable 5 Date: Mon, 20 Jul 2026 00:49:53 +0200 Subject: [PATCH] =?UTF-8?q?#147:=20Eigene=20Identit=C3=A4t=20in=20der=20AP?= =?UTF-8?q?I=20klar=20dokumentiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GET /api/public/v1/me existiert bereits — OpenAPI-Summary nennt jetzt ausdrücklich die User-ID, api-guide (en+de) ebenso. MCP war bereits paritätisch (list_ponds + Token-Identität); kein neuer Endpoint nötig. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_0155v2aT8AG1kZDQEZiCLBWC --- apps/api/src/public-api/openapi.ts | 4 +++- docs/de/manual/api-guide.md | 4 ++-- docs/manual/api-guide.md | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/api/src/public-api/openapi.ts b/apps/api/src/public-api/openapi.ts index 559ee87..cc0a467 100644 --- a/apps/api/src/public-api/openapi.ts +++ b/apps/api/src/public-api/openapi.ts @@ -251,7 +251,9 @@ export function buildOpenApiDocument(): object { paths: { '/me': { get: { - summary: "The token's user and scope (client smoke test).", + summary: + "The token's user — id, username, display name — plus scope and pond " + + 'restriction. The way to find your own user id (client smoke test).', responses: { '200': jsonResponse('Token identity', ref('Me')) }, }, }, diff --git a/docs/de/manual/api-guide.md b/docs/de/manual/api-guide.md index 6f0150e..4ebb6f2 100644 --- a/docs/de/manual/api-guide.md +++ b/docs/de/manual/api-guide.md @@ -40,8 +40,8 @@ curl -H "Authorization: Bearer dt_pat_..." \ https://wiki.example.com/api/public/v1/me ``` -`GET /me` ist der Smoke-Test — er liefert dein Benutzerkonto, den -Token-Scope und eine etwaige Teich-Beschränkung. +`GET /me` ist der Smoke-Test — er liefert dein Benutzerkonto (samt +deiner User-ID), den Token-Scope und eine etwaige Teich-Beschränkung. ## Lesen diff --git a/docs/manual/api-guide.md b/docs/manual/api-guide.md index d1632f1..d9766ad 100644 --- a/docs/manual/api-guide.md +++ b/docs/manual/api-guide.md @@ -37,8 +37,8 @@ curl -H "Authorization: Bearer dt_pat_..." \ https://wiki.example.com/api/public/v1/me ``` -`GET /me` is the smoke test — it returns your user, the token scope, -and any pond restriction. +`GET /me` is the smoke test — it returns your user (including your +user id), the token scope, and any pond restriction. ## Reading