Wiki
Search a wiki run
Changed onget/api/v0/wiki/{wikiRunId}/search
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
wikiRunId, string required
Query parameters
q, string required
Case-insensitive text to find in page titles and content; surrounding whitespace is ignored
limit, integer
Maximum number of results (1-100)
Headers
X-Factory-Org-Id, string
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Search Wiki Run200 Response Body required
results, object[] required
Matching pages; title matches first, then by path.
Changes
- info
added the non-success response with the status
- info
- breaking
added the new required
queryrequest parameterq - breaking
the response's body type changed from no type to
objectfor status
17 more changes in this revision
- breaking