Ir al contenido
GET /v1/repo/tags

Tags

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/tags" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitbucket-api/v1/repo/tags", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitbucket-api/v1/repo/tags");
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/tags",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

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

{
    "data": {
        "next": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/refs/tags?pagelen=30&page=2",
        "page": 1,
        "size": 91,
        "values": [
            {
                "date": null,
                "name": "atlassian-event-0.2",
                "type": "tag",
                "links": {
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlassian-event/commits/tag/atlassian-event-0.2"
                    },
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/refs/tags/atlassian-event-0.2"
                    },
                    "commits": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commits/atlassian-event-0.2"
                    }
                },
                "tagger": null,
                "target": {
                    "date": "2010-10-08T18:38:42+00:00",
                    "hash": "7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec",
                    "type": "commit",
                    "links": {
                        "diff": {
                            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/diff/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec"
                        },
                        "html": {
                            "href": "https://bitbucket.org/atlassian/atlassian-event/commits/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec"
                        },
                        "self": {
                            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec"
                        },
                        "patch": {
                            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/patch/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec"
                        },
                        "approve": {
                            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec/approve"
                        },
                        "comments": {
                            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec/comments"
                        },
                        "statuses": {
                            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/7603a42e6ae2e4b8239fd97ad0de9dc46fe2cbec/statuses"
                        }
                    },
                    "author": {
                        "raw": "Dylan Etkin <[email protected]>",
                        "type": "author",
                        "user": {
                            "type": "user",
                            "uuid": "{bc8e30f0-50bf-4c79-8193-003c288a2af8
…