Ir al contenido
GET /v1/repo/watchers

Watchers

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/bitbucket-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/bitbucket-api/v1/repo/watchers" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitbucket-api/v1/repo/watchers", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitbucket-api/v1/repo/watchers");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/bitbucket-api/v1/repo/watchers",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "page": 1,
        "size": 2,
        "values": [
            {
                "type": "team",
                "uuid": "{02b941e3-cfaa-40f9-9a58-cec53e20bdc3}",
                "links": {
                    "html": {
                        "href": "https://bitbucket.org/%7B02b941e3-cfaa-40f9-9a58-cec53e20bdc3%7D/"
                    },
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/workspaces/%7B02b941e3-cfaa-40f9-9a58-cec53e20bdc3%7D"
                    },
                    "avatar": {
                        "href": "https://bitbucket.org/account/atlassian/avatar/"
                    }
                },
                "username": "atlassian",
                "display_name": "Atlassian"
            },
            {
                "type": "user",
                "uuid": "{4d37aca5-6370-453b-8561-85c1beacaf2c}",
                "links": {
                    "html": {
                        "href": "https://bitbucket.org/%7B4d37aca5-6370-453b-8561-85c1beacaf2c%7D/"
                    },
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/users/%7B4d37aca5-6370-453b-8561-85c1beacaf2c%7D"
                    },
                    "avatar": {
                        "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/557057:4952e210-38b5-4515-9c16-bf7fbd9d81a6/79d5ce53-8d49-4fd3-83a2-cef342c05922/128"
                    }
                },
                "nickname": "Patryk",
                "account_id": "557057:4952e210-38b5-4515-9c16-bf7fbd9d81a6",
                "display_name": "Patryk Petrowski"
            }
        ],
        "pagelen": 30
    },
    "meta": {
        "timestamp": "2026-06-02T16:52:18.421Z",
        "request_id": "1effc283-0dc3-4a07-8346-8153906155e8"
    },
    "status": "ok",
    "message": "Repository watchers",
    "success": true
}