Reject community mirror proposal
curl --request POST \
--url https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"proposal_digest": "<string>",
"review_notes": "<string>"
}
'import requests
url = "https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject"
payload = {
"proposal_digest": "<string>",
"review_notes": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({proposal_digest: '<string>', review_notes: '<string>'})
};
fetch('https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject",
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([
'proposal_digest' => '<string>',
'review_notes' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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 := "https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject"
payload := strings.NewReader("{\n \"proposal_digest\": \"<string>\",\n \"review_notes\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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("https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"proposal_digest\": \"<string>\",\n \"review_notes\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"proposal_digest\": \"<string>\",\n \"review_notes\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"proposal": {
"id": "4ec8bc86-6180-4d0e-aa72-9cbf402d3638",
"platform": "example_platform",
"adagents_json": {
"authorized_agents": [
{
"url": "<string>",
"authorized_for": "<string>",
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
],
"properties": [
{}
],
"publisher_properties": [
{
"publisher_domain": "<string>",
"publisher_domains": [
"<string>"
],
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
]
}
],
"collections": [
{
"publisher_domain": "<string>",
"collection_ids": [
"<string>"
]
}
],
"placement_ids": [
"<string>"
],
"placement_tags": [
"<string>"
],
"exclusive": true,
"countries": [
"<string>"
],
"effective_from": "<string>",
"effective_until": "<string>",
"signal_ids": [
"<string>"
],
"signal_tags": [
"<string>"
],
"signing_keys": [
{}
]
}
],
"$schema": "<string>",
"properties": [
{}
],
"catalog_etag": "<string>",
"formats": [
{}
],
"placements": [
{}
],
"placement_tags": {},
"collections": [
{}
],
"signals": [
{}
],
"signal_tags": {},
"contact": "<unknown>",
"superseded_by": "<string>",
"last_updated": "2023-11-07T05:31:56Z"
},
"catalog_etag": "<string>",
"superseded_by": "<string>",
"proposal_digest": "<string>",
"base_mirror_digest": "<string>",
"proposed_by_organization_id": "<string>",
"proposed_at": "2023-11-07T05:31:56Z",
"reviewed_at": "2023-11-07T05:31:56Z",
"review_notes": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"proposed_by_email": "jsmith@example.com"
}
}{
"error": "<string>",
"details": [
"<unknown>"
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"message": "<string>",
"retryAfter": 123
}{
"error": "<string>"
}Community Mirrors
Reject community mirror proposal
Reject a pending proposal with reviewer notes. Requires a registry moderator or AgenticAdvertising.org administrator.
POST
/
api
/
registry
/
mirror-proposals
/
{id}
/
reject
Reject community mirror proposal
curl --request POST \
--url https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"proposal_digest": "<string>",
"review_notes": "<string>"
}
'import requests
url = "https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject"
payload = {
"proposal_digest": "<string>",
"review_notes": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({proposal_digest: '<string>', review_notes: '<string>'})
};
fetch('https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject",
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([
'proposal_digest' => '<string>',
'review_notes' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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 := "https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject"
payload := strings.NewReader("{\n \"proposal_digest\": \"<string>\",\n \"review_notes\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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("https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"proposal_digest\": \"<string>\",\n \"review_notes\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/registry/mirror-proposals/{id}/reject")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"proposal_digest\": \"<string>\",\n \"review_notes\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"proposal": {
"id": "4ec8bc86-6180-4d0e-aa72-9cbf402d3638",
"platform": "example_platform",
"adagents_json": {
"authorized_agents": [
{
"url": "<string>",
"authorized_for": "<string>",
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
],
"properties": [
{}
],
"publisher_properties": [
{
"publisher_domain": "<string>",
"publisher_domains": [
"<string>"
],
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
]
}
],
"collections": [
{
"publisher_domain": "<string>",
"collection_ids": [
"<string>"
]
}
],
"placement_ids": [
"<string>"
],
"placement_tags": [
"<string>"
],
"exclusive": true,
"countries": [
"<string>"
],
"effective_from": "<string>",
"effective_until": "<string>",
"signal_ids": [
"<string>"
],
"signal_tags": [
"<string>"
],
"signing_keys": [
{}
]
}
],
"$schema": "<string>",
"properties": [
{}
],
"catalog_etag": "<string>",
"formats": [
{}
],
"placements": [
{}
],
"placement_tags": {},
"collections": [
{}
],
"signals": [
{}
],
"signal_tags": {},
"contact": "<unknown>",
"superseded_by": "<string>",
"last_updated": "2023-11-07T05:31:56Z"
},
"catalog_etag": "<string>",
"superseded_by": "<string>",
"proposal_digest": "<string>",
"base_mirror_digest": "<string>",
"proposed_by_organization_id": "<string>",
"proposed_at": "2023-11-07T05:31:56Z",
"reviewed_at": "2023-11-07T05:31:56Z",
"review_notes": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"proposed_by_email": "jsmith@example.com"
}
}{
"error": "<string>",
"details": [
"<unknown>"
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"message": "<string>",
"retryAfter": 123
}{
"error": "<string>"
}Authorizations
bearerAuthoauth2
Bearer token in the Authorization header. Two token types are accepted:
- Organization API key (
sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use. - User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at
/.well-known/oauth-authorization-serverand the protected-resource metadata at/.well-known/oauth-protected-resource/api.
Path Parameters
Body
application/json
Was this page helpful?
⌘I