Enlaces compartidos

URL base: https://webvyze.com/api/v1 · haz clic en una ruta para ver alcance, parámetros, ejemplo y respuestas.

GET/sites/{site}/share-linksActive share links of the site (tokens are never returned)

Needs the reports.export permission in the account.

Alcance
api:read
Parámetros de ruta
{site} integer
Respuestas
200401402403422429
curl -H "Authorization: Bearer $WEBVYZE_KEY" \
  https://webvyze.com/api/v1/sites/{site}/share-links
Enlace a esta ruta
POST/sites/{site}/share-linksCreate a read-only share link to the accessibility report or a dossier: kind acr|dossier, ref_id, days 1-90

Needs a token with api:write. Needs the reports.export permission in the account.

Alcance
api:write
Parámetros de ruta
{site} integer
Respuestas
200401402403422429
curl -X POST -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/sites/{site}/share-links
Enlace a esta ruta
DELETE/sites/{site}/share-links/{id}Revoke a share link

Needs a token with api:write. Needs the reports.export permission in the account.

Alcance
api:write
Parámetros de ruta
{site} integer{id} string
Respuestas
200401402403422429
curl -X DELETE -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/sites/{site}/share-links/{id}
Enlace a esta ruta