Zum Inhalt springen
GET /v1/workspace

Workspace profile

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/bitbucket-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "name": "Atlassian",
        "slug": "atlassian",
        "type": "workspace",
        "uuid": "{02b941e3-cfaa-40f9-9a58-cec53e20bdc3}",
        "links": {
            "html": {
                "href": "https://bitbucket.org/atlassian/"
            },
            "self": {
                "href": "https://api.bitbucket.org/2.0/workspaces/atlassian"
            },
            "hooks": {
                "href": "https://api.bitbucket.org/2.0/workspaces/atlassian/hooks"
            },
            "avatar": {
                "href": "https://bitbucket.org/workspaces/atlassian/avatar/?ts=1760749566"
            },
            "owners": {
                "href": "https://api.bitbucket.org/2.0/workspaces/atlassian/members?q=permission%3D%22owner%22"
            },
            "members": {
                "href": "https://api.bitbucket.org/2.0/workspaces/atlassian/members"
            },
            "projects": {
                "href": "https://api.bitbucket.org/2.0/workspaces/atlassian/projects"
            },
            "snippets": {
                "href": "https://api.bitbucket.org/2.0/snippets/atlassian"
            },
            "repositories": {
                "href": "https://api.bitbucket.org/2.0/repositories/atlassian"
            },
            "html_overview": {
                "href": "https://bitbucket.org/atlassian/workspace/overview/"
            }
        },
        "created_on": "2018-11-29T02:26:39.297476+00:00",
        "is_private": true,
        "forking_mode": "allow_forks",
        "is_privacy_enforced": false
    },
    "meta": {
        "timestamp": "2026-06-02T16:52:19.101Z",
        "request_id": "8b53679f-ad98-4a57-8f74-a72887c8a46a"
    },
    "status": "ok",
    "message": "Workspace profile",
    "success": true
}