/v1/workspace/repos
Workspace repositories
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/bitbucket-api/v1/workspace/repos" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitbucket-api/v1/workspace/repos", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitbucket-api/v1/workspace/repos");
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/workspace/repos",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"next": "https://api.bitbucket.org/2.0/repositories/atlassian?sort=-updated_on&pagelen=30&page=2",
"page": 1,
"size": 408,
"values": [
{
"scm": "git",
"name": "atlassian-connect-spring-boot",
"size": 9008523,
"slug": "atlassian-connect-spring-boot",
"type": "repository",
"uuid": "{4b29f711-fe1c-43aa-bc77-5db7a7430fed}",
"links": {
"html": {
"href": "https://bitbucket.org/atlassian/atlassian-connect-spring-boot"
},
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot"
},
"tags": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/refs/tags"
},
"clone": [
{
"href": "https://bitbucket.org/atlassian/atlassian-connect-spring-boot.git",
"name": "https"
},
{
"href": "[email protected]:atlassian/atlassian-connect-spring-boot.git",
"name": "ssh"
}
],
"forks": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/forks"
},
"hooks": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/hooks"
},
"avatar": {
"href": "https://bytebucket.org/ravatar/%7B4b29f711-fe1c-43aa-bc77-5db7a7430fed%7D?ts=1129854"
},
"source": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/src"
},
"commits": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/commits"
},
"branches": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/refs/branches"
},
"watchers": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/watchers"
},
"downloads": {
"href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-connect-spring-boot/downloads"
},
"pullrequests": {
"href": "https://api.bitbucket.org/2.0/rep
…