List trashed QR codes
curl --request GET \
--url https://management.scanova.io/qrcode/trash/ \
--header 'Authorization: <api-key>'import requests
url = "https://management.scanova.io/qrcode/trash/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://management.scanova.io/qrcode/trash/', 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://management.scanova.io/qrcode/trash/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://management.scanova.io/qrcode/trash/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://management.scanova.io/qrcode/trash/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/qrcode/trash/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"id": 88190,
"qrid": "QR2P8V4LM",
"name": "Old menu — spring",
"qr_type": "dy",
"qr_type_display": "Dynamic",
"short_url": "https://qr.link/d4e5f6",
"thumbnail": "https://cdn.scanova.io/thumbnails/QR2P8V4LM.png",
"is_active": false,
"published_at": "2026-03-01T10:00:00Z",
"category_slug": "url",
"is_currently_draft": false,
"deleted": "2026-08-01T16:22:09Z",
"category": { "id": 1, "name": "Website URL", "slug": "url" },
"tags_list": ["menu"],
"dynamic_url_object": { "has_qr": true }
}
]
}
API de gestión — Códigos QR
Listar códigos QR en la papelera
GET /qrcode/trash/
GET
/
qrcode
/
trash
/
List trashed QR codes
curl --request GET \
--url https://management.scanova.io/qrcode/trash/ \
--header 'Authorization: <api-key>'import requests
url = "https://management.scanova.io/qrcode/trash/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://management.scanova.io/qrcode/trash/', 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://management.scanova.io/qrcode/trash/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://management.scanova.io/qrcode/trash/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://management.scanova.io/qrcode/trash/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/qrcode/trash/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"id": 88190,
"qrid": "QR2P8V4LM",
"name": "Old menu — spring",
"qr_type": "dy",
"qr_type_display": "Dynamic",
"short_url": "https://qr.link/d4e5f6",
"thumbnail": "https://cdn.scanova.io/thumbnails/QR2P8V4LM.png",
"is_active": false,
"published_at": "2026-03-01T10:00:00Z",
"category_slug": "url",
"is_currently_draft": false,
"deleted": "2026-08-01T16:22:09Z",
"category": { "id": 1, "name": "Website URL", "slug": "url" },
"tags_list": ["menu"],
"dynamic_url_object": { "has_qr": true }
}
]
}
Lista los códigos QR que se han eliminado de forma reversible (movidos a la papelera) mediante
DELETE /qrcode/{qrid}/. Reside en el host de la API de gestión (management.scanova.io), autenticado con tu clave sin procesar de la API de gestión.
GET https://management.scanova.io/qrcode/trash/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
También accesible en
/qr/trash/ — misma vista, mismo comportamiento.Parámetros de consulta
Este endpoint admite los mismos parámetrossearch, category, tags, type y ordering que GET /qr/, además de filtros de fecha de eliminación:
string
Fecha ISO. Devuelve códigos QR eliminados en o después de esta fecha.
string
Fecha ISO. Devuelve códigos QR eliminados en o antes de esta fecha.
{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"id": 88190,
"qrid": "QR2P8V4LM",
"name": "Old menu — spring",
"qr_type": "dy",
"qr_type_display": "Dynamic",
"short_url": "https://qr.link/d4e5f6",
"thumbnail": "https://cdn.scanova.io/thumbnails/QR2P8V4LM.png",
"is_active": false,
"published_at": "2026-03-01T10:00:00Z",
"category_slug": "url",
"is_currently_draft": false,
"deleted": "2026-08-01T16:22:09Z",
"category": { "id": 1, "name": "Website URL", "slug": "url" },
"tags_list": ["menu"],
"dynamic_url_object": { "has_qr": true }
}
]
}
Esta es una forma más reducida que la del endpoint de lista principal — cabe destacar que
deleted (la marca de tiempo de eliminación reversible) es exclusiva de la papelera, y aquí dynamic_url_object se reduce a simplemente {"has_qr": ...} en lugar del objeto más completo que devuelve GET /qr/. La paginación sigue la misma convención de número de página, no URL que el endpoint de lista principal.Restaurar o eliminar permanentemente códigos QR de la papelera
Esta referencia solo cubre el listado de códigos QR en la papelera. Las acciones de restaurar y eliminar permanentemente del panel se apoyan en endpoints masivos independientes (POST a una ruta trash/restore/ y trash/delete/ respectivamente) que aún no están documentados en esta referencia de la API — contacta con support@scanova.io si necesitas restaurar/eliminar permanentemente de forma programática hoy.
Relacionado
- Obtener, actualizar, eliminar un código QR — la llamada
DELETEque mueve un código QR a esta lista de papelera. - Listar / crear códigos QR — el endpoint de listado equivalente para códigos QR activos (no eliminados).
Autorizaciones
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. management.scanova.io) — the same key sent to the regular API host will not authenticate.
Respuesta
200
Trashed QR codes
¿Esta página le ayudó?
⌘I