Web-Frontend: /api-Doku mit KI-Deklarationsfeldern (curl-Beispiele + Hinweis)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-07-10 12:41:24 +00:00
parent 5c91e2e281
commit c778e41ee9
2 changed files with 8 additions and 2 deletions

View file

@ -189,13 +189,19 @@ curl -X POST {{ $apiBase }}/press-releases \
curl -X POST {{ $apiBase }}/press-releases/123/images \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-F "image=@pressefoto.jpg" \
-F "ai_declaration=original" \
-F "copyright=Mustermann GmbH" \
-F "is_preview=1"
{{ __('static.api.quickstart_step_3') }}
curl -X POST {{ $apiBase }}/press-releases/123/submit \
-H "Authorization: Bearer YOUR_API_TOKEN"</code></pre>
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "ai_text_declaration": "none" }'</code></pre>
</div>
<p class="text-[12px] text-ink-3 m-0 mt-3">
{{ __('static.api.ai_declaration_note') }}
</p>
<p class="text-[12px] text-ink-3 m-0 mt-3">
{{ __('static.api.openapi_note') }} <a href="{{ route('docs.api.v1') }}" class="text-brand hover:underline">{{ __('static.api.openapi_link') }}</a>.
</p>