{{ .Title }}

{{/* Summary - first sentence only at top */}} {{ with .Params.summary }}

{{ . | markdownify }}

{{ else }} {{/* Extract first sentence from description (or full text if no sentence ending) */}} {{ with .Description }} {{ $matches := findRE `^[^.!?]*[.!?]` . 1 }} {{ if gt (len $matches) 0 }} {{ $firstSentence := index $matches 0 }}

{{ $firstSentence | markdownify }}

{{ else }} {{/* No sentence ending found - use first line or full description */}} {{ $firstLine := index (split . "\n") 0 }}

{{ $firstLine | markdownify }}

{{ end }} {{ end }} {{ end }}
{{/* Download OpenAPI spec button */}} {{ with .Params.staticFilePath }} {{ end }}
{{ $isConceptual := .Params.isConceptual | default false }} {{ if $isConceptual }} {{/* Conceptual Page - Show content directly */}}
{{ with .Content }} {{ . }} {{ else }} {{ with .Params.tagDescription }} {{ . | markdownify }} {{ end }} {{ end }}
{{ else }} {{/* Operational Page - Show operations list then description */}} {{/* Operations List */}} {{ $operations := .Params.operations }} {{ if $operations }}

Endpoints

{{ range $operations }} {{/* Build URL: parent section (e.g., /influxdb3/core/api/) + operation path + method */}} {{ $apiBase := $.Parent.RelPermalink }} {{ $operationURL := printf "%s%s/%s/" $apiBase .path (lower .method) }} {{ upper .method }} {{ .path }} {{ .summary }} {{ end }}
{{ end }} {{/* Overview - full tag description after endpoints */}} {{ $desc := .Description | strings.TrimSpace }} {{ if gt (len $desc) 0 }}

Overview

{{ $desc | markdownify }}
{{ end }} {{/* Hugo page content if any */}} {{ with .Content }}
{{ . }}
{{ end }} {{/* RapiDoc renderer - only for pages with additional content beyond description */}} {{/* Don't show RapiDoc on list pages since operations are already shown as cards above */}} {{ end }} {{/* Related documentation links */}} {{ partial "article/related.html" . }}