openapi: 3.1.0 info: title: Microsoft Azure Cognitive Services Accounts Video Search API description: APIs for vision, speech, language, and decision-making AI capabilities including Computer Vision, Text Analytics, and Translator services. version: '3.2' contact: name: Microsoft Azure Support url: https://azure.microsoft.com/en-us/support/ termsOfService: https://www.microsoft.com/en-us/legal/terms-of-use servers: - url: https://{region}.api.cognitive.microsoft.com description: Azure Cognitive Services Regional Endpoint variables: region: default: eastus description: Azure region for the Cognitive Services resource security: - apiKey: [] tags: - name: Video Search description: Search for videos paths: /videos/search: get: operationId: videoSearch summary: Microsoft Video search description: Returns videos relevant to the given search query. tags: - Video Search parameters: - name: q in: query required: true description: The search query string schema: type: string - name: count in: query schema: type: integer default: 35 - name: offset in: query schema: type: integer default: 0 - name: mkt in: query schema: type: string responses: '200': description: Video search results content: application/json: schema: $ref: '#/components/schemas/VideoSearchResponse' '401': description: Unauthorized components: schemas: VideoSearchResponse: type: object properties: _type: type: string totalEstimatedMatches: type: integer value: type: array items: type: object properties: name: type: string contentUrl: type: string thumbnailUrl: type: string hostPageUrl: type: string duration: type: string datePublished: type: string format: date-time publisher: type: array items: type: object properties: name: type: string viewCount: type: integer securitySchemes: apiKey: type: apiKey name: Ocp-Apim-Subscription-Key in: header description: Azure Cognitive Services subscription key externalDocs: description: Azure AI Services Documentation url: https://learn.microsoft.com/en-us/azure/ai-services/