@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api News Search Client
@base https://api.cognitive.microsoft.com/bing/v7.0
@version 1.0
@auth ApiKey Ocp-Apim-Subscription-Key in header
@endpoints 3
@toc news(3)

@endpoint GET /news/search
@required {X-BingApis-SDK: any, q: any}
@optional {Accept: any, Accept-Language: any, User-Agent: any, X-MSEdge-ClientID: any, X-MSEdge-ClientIP: any, X-Search-Location: any, cc: any, count: any, freshness: any, mkt: any, offset: any, originalImg: any, safeSearch: any, setLang: any, sortBy: any, textDecorations: any, textFormat: any}
@returns(200)

@endpoint GET /news
@required {X-BingApis-SDK: any}
@optional {Accept: any, Accept-Language: any, User-Agent: any, X-MSEdge-ClientID: any, X-MSEdge-ClientIP: any, X-Search-Location: any, cc: any, category: any, count: any, headlineCount: any, mkt: any, offset: any, originalImg: any, safeSearch: any, setLang: any, textDecorations: any, textFormat: any}
@returns(200)

@endpoint GET /news/trendingtopics
@required {X-BingApis-SDK: any}
@optional {Accept: any, Accept-Language: any, User-Agent: any, X-MSEdge-ClientID: any, X-MSEdge-ClientIP: any, X-Search-Location: any, cc: any, count: any, mkt: any, offset: any, safeSearch: any, setLang: any, since: any, sortBy: any, textDecorations: any, textFormat: any}
@returns(200)

@end
