You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore /content/search schemas to Preview spec (#546)
Re-adds the GET /content/search path and the five content_search_*
component schemas that were silently removed by sync PR #518. Matches
runtime behavior of Api::V3::Content::SearchController:
- query is optional (returns most recent when omitted), maxLength 500
- per_page defaults 10, max 50
- page defaults 1, minimum 1
Supersedes the inlined-schema design of developer-docs PR #942 with
the named-schema design from OpenAPI PR #513, so the path block can be
cleanly extended by the planned Tier-1 filter wave.
description: A free-text search term matched against the title and body of
8568
+
each content item. When omitted, returns the most recent content items.
8569
+
example: billing
8570
+
schema:
8571
+
type: string
8572
+
maxLength: 500
8573
+
- name: page
8574
+
in: query
8575
+
required: false
8576
+
description: The page number to fetch. Defaults to 1. Values below 1 are
8577
+
clamped to 1.
8578
+
example: 1
8579
+
schema:
8580
+
type: integer
8581
+
default: 1
8582
+
minimum: 1
8583
+
- name: per_page
8584
+
in: query
8585
+
required: false
8586
+
description: Number of results per page. Defaults to 10. Maximum 50.
8587
+
example: 10
8588
+
schema:
8589
+
type: integer
8590
+
default: 10
8591
+
minimum: 1
8592
+
maximum: 50
8593
+
tags:
8594
+
- Content
8595
+
operationId: searchContent
8596
+
description: |
8597
+
Search the knowledge base contents — articles, snippets, external pages, uploaded files, and internal articles — using a keyword query.
8598
+
8599
+
Each result row has a `type` discriminator. Most types (`content_snippet`, `external_content`, `file_source_content`, `internal_article`) return a flat `{ type, id, title }` shape. Help center articles return a nested shape with a `contents[]` array, one entry per locale.
0 commit comments