Web-Frontend: /api-Doku mit KI-Deklarationsfeldern (curl-Beispiele + Hinweis)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
5c91e2e281
commit
c778e41ee9
2 changed files with 8 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue