MicrosoftContentModerator

FREE
By raygorodskij
Updated 5 months ago
Machine Learning
4.1/10
Popularity Score
241ms
Latency
100%
Success Rate

MicrosoftContentModerator API Documentation

Machine-assisted moderation of text and images.

View API Details
POSTaddImageInList
POSTaddTerm
POSTcreateImageList
POSTcreateTermList
POSTdeleteAllImagesFromList
POSTdeleteAllTermsFromList
POSTdeleteImageFromList
POSTdeleteImageList
POSTdeleteTerm
POSTdeleteTermList
POSTdetectLanguage
POSTdetectProfanityLanguage
POSTevaluateImage
POSTfindFaces
POSTgetAllImageLists
POSTgetAllImagesFromList
POSTgetAllTermLists
POSTgetAllTermsFromList
POSTgetImageListDetails
POSTgetImageText
POSTgetMatchImage
POSTgetTermListDetails
POSTrefreshImageSearchIndex
POSTrefreshTermSearchIndex
POSTupdateImageList
POSTupdateTermList
POSTaddImageInList

Add an Image to your image list. The image list can be used to do fuzzy matching against other images when using Image/Match API.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
regionSELECT
REQUIREDThe region that most closely describes your location.
imageUrlSTRING
REQUIREDImage url for scan.
listIdSTRING
REQUIREDThe list to be for matching.
apiKeyCREDENTIALS
REQUIREDYour API Key.
Optional Parameters
tagSELECT
OPTIONALThe list to be for matching.
labelSTRING
OPTIONALAny additional information about the reference image.
Code Snippet
unirest.post("https://MicrosoftContentModeratorraygorodskijV1.p.rapidapi.com/addImageInList")
.header("X-RapidAPI-Host", "MicrosoftContentModeratorraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://MicrosoftContentModeratorraygorodskijV1.p.rapidapi.com/addImageInList
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://MicrosoftContentModeratorraygorodskijV1.p.rapidapi.com/addImageInList")
.header("X-RapidAPI-Host", "MicrosoftContentModeratorraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication