Wiki

Search a wiki run

Changed on
get/api/v0/wiki/{wikiRunId}/search

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP 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

SearchWikiRun200ResponseBody required
results, object[] required

Matching pages; title matches first, then by path.

Changes

    • info

      added the non-success response with the status

    • breaking

      added the new required query request parameter q

    • breaking

      the response's body type changed from no type to object for status

    17 more changes in this revision