diff --git a/fern/openapi-overrides.yml b/fern/openapi-overrides.yml index 71a80f5..bd5aaa4 100644 --- a/fern/openapi-overrides.yml +++ b/fern/openapi-overrides.yml @@ -81,10 +81,62 @@ paths: x-fern-request-name: DeleteArticleRequest /articles/search: get: + x-fern-pagination: + offset: $request.page + results: $response.data.articles x-fern-sdk-group-name: - articles x-fern-sdk-method-name: search x-fern-request-name: SearchArticlesRequest + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + - name: phrase + in: query + required: false + description: The phrase within your articles to search for. + example: Getting started + schema: + type: string + - name: state + in: query + required: false + description: The state of the Articles returned. One of `published`, `draft` + or `all`. + example: published + schema: + type: string + - name: help_center_id + in: query + required: false + description: The ID of the Help Center to search in. + example: 123 + schema: + type: integer + - name: highlight + in: query + required: false + description: Return a highlighted version of the matching content within your + articles. Refer to the response schema for more details. + example: false + schema: + type: boolean + - name: page + in: query + required: false + description: The page of results to fetch. Defaults to first page + example: 1 + schema: + type: integer + - name: per_page + in: query + required: false + description: How many results to display per page. Defaults to 15 + example: 15 + schema: + type: integer /help_center/collections: get: x-fern-pagination: