Get the content ratings you see
GET
/api/v1/me/content-ratings
const url = 'http://localhost:8080/api/v1/me/content-ratings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/me/content-ratings \ --header 'Authorization: Bearer <token>'The ratings every source’s search is limited to. Until a user chooses, and always for a demo account, safe and suggestive.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The ratings you see.
Media typeapplication/json
object
contentRatings
required
The ratings the user sees, mildest first.
Array<string>
Example
{ "contentRatings": [ "safe", "suggestive" ]}The request has no valid session token.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}The server failed; details are in its log.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}