---
title: "Refresh triggers an update of the cached \"news\" and \"category\" tag definitions. The latest tags are fetched from Contentful, and the existing cache is overwritten."
url: "https://developer.migros.ch/apis/content-search-api-prod-v1/versions/91af33ef-c15b-4385-bee3-2bafb1c92034/operations/ContentSearch_Refresh"
---

> Full API specification: https://developer.migros.ch/apis/content-search-api-prod-v1/versions/91af33ef-c15b-4385-bee3-2bafb1c92034.md

# Refresh triggers an update of the cached "news" and "category" tag definitions. The latest tags are fetched from Contentful, and the existing cache is overwritten.

`POST` `/migros/contentsearch/v1/refresh`

Operation ID: `ContentSearch_Refresh`

## Responses

- `200` - A successful response.
- `default` - An unexpected error response.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: ContentSearch API PROD
  version: v1.114.1
servers:
  - url: https://api.migros.ch
paths:
  /migros/contentsearch/v1/refresh:
    post:
      operationId: ContentSearch_Refresh
      responses:
        "200":
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/contentsearchRefreshResponse"
          description: A successful response.
        default:
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/googlerpcStatus"
          description: An unexpected error response.
      security:
        - apiKeyAuth: []
      summary: >-
        Refresh triggers an update of the cached "news" and "category" tag

        definitions. The latest tags are fetched from Contentful, and the
        existing

        cache is overwritten.
      tags:
        - ContentSearch
security:
  - apiKeyAuth: []
components:
  schemas:
    contentsearchRefreshResponse:
      properties:
        info:
          description: Provides information about the result of the refresh operation.
          type: string
      type: object
    googlerpcStatus:
      properties:
        code:
          format: int32
          type: integer
        details:
          items:
            allOf:
              - $ref: "#/components/schemas/protobufAny"
            type: object
          type: array
        message:
          type: string
      type: object
    protobufAny:
      additionalProperties: {}
      properties:
        "@type":
          type: string
      type: object
  securitySchemes:
    apiKeyAuth:
      in: header
      name: X-Api-Key
      type: apiKey
```
