/v1/repo/tags
Tags
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"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
…