{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure AccessControlClient AccessConnector SpellCheck API", "version": "2020-08-01-preview" }, "items": [ { "info": { "name": "SpellCheck", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Azure The Bing Spell Check Api Lets You Perform Contextual Grammar And Spell Checking Bing Has Developed A Web Based Spell Checker That Leverages Machine Learning And Statistical Machine Translation To Dynamically Train A Constantly Evolving And Highly Contextual Algorithm The Spell Checker Is Based On A Massive Corpus Of Web Searches And Documents", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/spellcheck", "headers": [ { "name": "X-BingApis-SDK", "value": "" }, { "name": "Accept", "value": "" }, { "name": "Accept-Language", "value": "" }, { "name": "Pragma", "value": "" }, { "name": "User-Agent", "value": "" }, { "name": "X-MSEdge-ClientID", "value": "" }, { "name": "X-MSEdge-ClientIP", "value": "" }, { "name": "X-Search-Location", "value": "" } ], "params": [ { "name": "ActionType", "value": "", "type": "query", "description": "A string that's used by logging to determine whether the request is coming from an interactive session or a page load. The following are the possible values. 1) Edit—The request is from an interactive session 2) Load—The request is from a page load" }, { "name": "AppName", "value": "", "type": "query", "description": "The unique name of your app. The name must be known by Bing. Do not include this parameter unless you have previously contacted Bing to get a unique app name. To get a unique name, contact your Bing Business Development manager." }, { "name": "cc", "value": "", "type": "query", "description": "A 2-character country code of the country where the results come from. This API supports only the United States market. If you specify this query parameter, it must be set to us. If you set this parameter, you must also specify the Accept-Language header. Bing uses the first supported language it finds from the languages list, and combine that language with the country code that you specify to determine the market to return results for. If the languages list does not include a supported language, Bing finds the closest language and market that supports the request, or it may use an aggregated or default market for the results instead of a specified one. You should use this query parameter and the Accept-Language query parameter only if you specify multiple languages; otherwise, you should use the mkt and setLang query parameters. This parameter and the mkt query parameter are mutually exclusive—do not specify both." }, { "name": "ClientMachineName", "value": "", "type": "query", "description": "A unique name of the device that the request is being made from. Generate a unique value for each device (the value is unimportant). The service uses the ID to help debug issues and improve the quality of corrections." }, { "name": "DocId", "value": "", "type": "query", "description": "A unique ID that identifies the document that the text belongs to. Generate a unique value for each document (the value is unimportant). The service uses the ID to help debug issues and improve the quality of corrections." }, { "name": "mkt", "value": "", "type": "query", "description": "The market where the results come from. You are strongly encouraged to always specify the market, if known. Specifying the market helps Bing route the request and return an appropriate and optimal response. This parameter and the cc query parameter are mutually exclusive—do not specify both." }, { "name": "SessionId", "value": "", "type": "query", "description": "A unique ID that identifies this user session. Generate a unique value for each user session (the value is unimportant). The service uses the ID to help debug issues and improve the quality of corrections" }, { "name": "SetLang", "value": "", "type": "query", "description": "The language to use for user interface strings. Specify the language using the ISO 639-1 2-letter language code. For example, the language code for English is EN. The default is EN (English). Although optional, you should always specify the language. Typically, you set setLang to the same language specified by mkt unless the user wants the user interface strings displayed in a different language. This parameter and the Accept-Language header are mutually exclusive—do not specify both. A user interface string is a string that's used as a label in a user interface. There are few user interface strings in the JSON response objects. Also, any links to Bing.com properties in the response objects apply the specified language." }, { "name": "UserId", "value": "", "type": "query", "description": "A unique ID that identifies the user. Generate a unique value for each user (the value is unimportant). The service uses the ID to help debug issues and improve the quality of corrections." }, { "name": "Mode", "value": "", "type": "query", "description": "The type of spelling and grammar checks to perform. The following are the possible values (the values are case insensitive). The default is Proof. 1) Proof—Finds most spelling and grammar mistakes. 2) Spell—Finds most spelling mistakes but does not find some of the grammar errors that Proof catches (for example, capitalization and repeated words)" }, { "name": "PreContextText", "value": "", "type": "query", "description": "A string that gives context to the text string. For example, the text string petal is valid. However, if you set preContextText to bike, the context changes and the text string becomes not valid. In this case, the API suggests that you change petal to pedal (as in bike pedal). This text is not checked for grammar or spelling errors. The combined length of the text string, preContextText string, and postContextText string may not exceed 10,000 characters. You may specify this parameter in the query string of a GET request or in the body of a POST request." }, { "name": "PostContextText", "value": "", "type": "query", "description": "A string that gives context to the text string. For example, the text string read is valid. However, if you set postContextText to carpet, the context changes and the text string becomes not valid. In this case, the API suggests that you change read to red (as in red carpet). This text is not checked for grammar or spelling errors. The combined length of the text string, preContextText string, and postContextText string may not exceed 10,000 characters. You may specify this parameter in the query string of a GET request or in the body of a POST request." }, { "name": "Text", "value": "", "type": "query", "description": "The text string to check for spelling and grammar errors. The combined length of the text string, preContextText string, and postContextText string may not exceed 10,000 characters. You may specify this parameter in the query string of a GET request or in the body of a POST request. Because of the query string length limit, you'll typically use a POST request unless you're checking only short strings." } ] }, "docs": "Needs a more full description created." } ] } ], "bundled": true }