List flags waiting for your review
curl --request GET \
--url https://{organization}.rescueconsole.com/api/registry/flags/awaiting-review \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/registry/flags/awaiting-review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/registry/flags/awaiting-review"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"originating_tenant_id": "<string>",
"subject_type": "person",
"identifiers": {
"microchip_hash": "<string>",
"email_hash": "<string>",
"phone_hash": "<string>",
"phone_hash_national": "<string>",
"phone_country": "<string>",
"name_parts": {
"prefix": "<string>",
"first": "<string>",
"last": "<string>",
"suffix": "<string>"
},
"name_alias": "<string>",
"animal_name": "<string>",
"species": "<string>",
"breed": "<string>",
"color": "<string>",
"sex": "<string>",
"address_area": {
"city": "<string>",
"administrative_area": "<string>",
"country": "<string>"
},
"dob_year": "<string>",
"dob_hash": "<string>"
},
"flag_type": "animal_abuse",
"severity": "advisory",
"status": "pending_review",
"visibility": "network",
"narrative": "<string>",
"evidence_refs": [
"<unknown>"
],
"moderation_metadata": {
"corroborations": 123,
"disputes": 123,
"insufficient_evidence": 123,
"corroborating_tenant_ids": [
"<string>"
],
"disputing_tenant_ids": [
"<string>"
]
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"originating_organization": {
"name": "<string>",
"slug": "<string>",
"contact_email": "<string>",
"contact_phone": "<string>"
}
}
],
"limit": 123,
"offset": 123,
"has_more": true,
"total": 123
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Registry reviews
List flags waiting for your review
Flags OTHER organizations filed, shared with the network, still pending review, that your organization has not reviewed: the ones your organization was asked about. Oldest first, because the one waiting longest is the one to read first. A flag leaves this list once your organization has reviewed it.
Each is the whole flag, with the organization that filed it. None is a finding yet: nobody has corroborated it, and no search returns it.
Needs write on Registry: reviewing is a write, and only somebody who may review is shown what is waiting. Without it, 403.
GET
/
api
/
registry
/
flags
/
awaiting-review
List flags waiting for your review
curl --request GET \
--url https://{organization}.rescueconsole.com/api/registry/flags/awaiting-review \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/registry/flags/awaiting-review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/registry/flags/awaiting-review"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"originating_tenant_id": "<string>",
"subject_type": "person",
"identifiers": {
"microchip_hash": "<string>",
"email_hash": "<string>",
"phone_hash": "<string>",
"phone_hash_national": "<string>",
"phone_country": "<string>",
"name_parts": {
"prefix": "<string>",
"first": "<string>",
"last": "<string>",
"suffix": "<string>"
},
"name_alias": "<string>",
"animal_name": "<string>",
"species": "<string>",
"breed": "<string>",
"color": "<string>",
"sex": "<string>",
"address_area": {
"city": "<string>",
"administrative_area": "<string>",
"country": "<string>"
},
"dob_year": "<string>",
"dob_hash": "<string>"
},
"flag_type": "animal_abuse",
"severity": "advisory",
"status": "pending_review",
"visibility": "network",
"narrative": "<string>",
"evidence_refs": [
"<unknown>"
],
"moderation_metadata": {
"corroborations": 123,
"disputes": 123,
"insufficient_evidence": 123,
"corroborating_tenant_ids": [
"<string>"
],
"disputing_tenant_ids": [
"<string>"
]
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"originating_organization": {
"name": "<string>",
"slug": "<string>",
"contact_email": "<string>",
"contact_phone": "<string>"
}
}
],
"limit": 123,
"offset": 123,
"has_more": true,
"total": 123
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Query Parameters
How many to return. 25 unless you say, 100 at most.
Required range:
1 <= x <= 100How many to skip, for the next page.
Required range:
x >= 0