Report a BrandHub listing
curl --request POST \
--url http://localhost:3000/api/v1/hub/{org}/{brand}/reports \
--header 'Content-Type: application/json' \
--data '
{
"note": "<string>",
"contact": "<string>"
}
'import requests
url = "http://localhost:3000/api/v1/hub/{org}/{brand}/reports"
payload = {
"note": "<string>",
"contact": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({note: '<string>', contact: '<string>'})
};
fetch('http://localhost:3000/api/v1/hub/{org}/{brand}/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/v1/hub/{org}/{brand}/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'note' => '<string>',
'contact' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/api/v1/hub/{org}/{brand}/reports"
payload := strings.NewReader("{\n \"note\": \"<string>\",\n \"contact\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://localhost:3000/api/v1/hub/{org}/{brand}/reports")
.header("Content-Type", "application/json")
.body("{\n \"note\": \"<string>\",\n \"contact\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/v1/hub/{org}/{brand}/reports")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"note\": \"<string>\",\n \"contact\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"received": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"detail": "<unknown>"
}
}API Reference
Report a BrandHub listing
Tell a public listing’s owner, and this server’s operator, what is wrong with it. Nothing about it is public. Anyone may report; a few an hour from one address, and the address is never kept.
No key needed.
POST
/
api
/
v1
/
hub
/
{org}
/
{brand}
/
reports
Report a BrandHub listing
curl --request POST \
--url http://localhost:3000/api/v1/hub/{org}/{brand}/reports \
--header 'Content-Type: application/json' \
--data '
{
"note": "<string>",
"contact": "<string>"
}
'import requests
url = "http://localhost:3000/api/v1/hub/{org}/{brand}/reports"
payload = {
"note": "<string>",
"contact": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({note: '<string>', contact: '<string>'})
};
fetch('http://localhost:3000/api/v1/hub/{org}/{brand}/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/v1/hub/{org}/{brand}/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'note' => '<string>',
'contact' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/api/v1/hub/{org}/{brand}/reports"
payload := strings.NewReader("{\n \"note\": \"<string>\",\n \"contact\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://localhost:3000/api/v1/hub/{org}/{brand}/reports")
.header("Content-Type", "application/json")
.body("{\n \"note\": \"<string>\",\n \"contact\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/v1/hub/{org}/{brand}/reports")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"note\": \"<string>\",\n \"contact\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"received": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"detail": "<unknown>"
}
}Body
application/json
impersonation: It pretends to be the brand's owner; trademark: It uses a trademark without permission; inaccurate: Its rules or files are wrong or out of date; abuse: Spam, malware or offensive content; other: Something else
Available options:
impersonation, trademark, inaccurate, abuse, other What is wrong, in your words
Maximum string length:
2000How the listing's owner may reach you, if you want them to: seen by them and this server's operator only
Maximum string length:
200Response
Received
Show child attributes
Show child attributes