openapi: 3.2.0 info: title: api-settings Redirects API version: '2' servers: - url: https://api.clerk.io/v2 security: - sec0: [] tags: - name: Redirects paths: /redirects/: get: summary: /redirects description: '' operationId: redirects-get parameters: - name: key in: query description: The public key of the store required: true schema: type: string - name: private_key in: query description: The private key of the store required: true schema: type: string - name: redirects in: query description: The urls to fetch queries for required: true schema: type: array items: type: string responses: '200': description: '200' content: application/json: examples: Result: value: '{''status'': ''ok'' ''redirects'':[{''url'':''clerk.io'',''queries'':[''clerk'',''redirects''],''exact_match'':True}] }' '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Redirects post: summary: /redirects description: '' operationId: redirects-post requestBody: content: application/json: schema: type: object required: - key - private_key - redirects properties: key: type: string description: The public key of the store private_key: type: string description: The private key of the store redirects: type: array description: A list of redirect objects responses: '200': description: '200' content: application/json: examples: Result: value: '{''status'': ''ok''}' '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Redirects patch: summary: /redirects description: '' operationId: redirects-patch requestBody: content: application/json: schema: type: object required: - key - private_key - redirects properties: key: type: string description: The public key of the store private_key: type: string description: The private key of the store redirects: type: array description: A list of redirect objects responses: '200': description: '200' content: application/json: examples: Result: value: '{''status'': ''ok}' '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Redirects delete: summary: /redirects description: '' operationId: redirects-delete parameters: - name: key in: query description: The public key of the store required: true schema: type: string - name: private_key in: query description: The private key of the store required: true schema: type: string - name: redirects in: query description: The urls to delete redirects for required: true schema: type: array items: type: string responses: '200': description: '200' content: application/json: examples: Result: value: '{''status'': ''ok''}' '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Redirects components: securitySchemes: sec0: type: apiKey name: key in: query x-default: your_api_key