> ## Documentation Index
> Fetch the complete documentation index at: https://www.octoparse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Freigaben listen

> Point-to-point-Share-Grant-Liste einer App anzeigen.

**`GET`** `https://api-datahub.octoparse.com/v1/data-apps/{app_id}/grants`

Authentifizierung: API-Schlüssel erforderlich (`Authorization: Bearer <API Key>`). Nur App-Autor; andere erhalten `404`.

Die Grant-Liste, die bei `scope=shared` gilt. Nur für Autoren; auch für Apps ohne Releases verfügbar. Die Liste erscheint nie in Detail-Payloads oder in Antworten an Nicht-Autoren. Benutzernamen werden beim Rendern aufgelöst; benennt sich ein Grantee um, wird der neue Name angezeigt.

## Anfrage

### Pfadparameter

<ParamField path="app_id" type="string" required>
  App-Referenz.
</ParamField>

### Beispielanfrage

```bash theme={null}
curl \
  -H "Authorization: Bearer $OCTOPARSE_API_KEY" \
  "https://api-datahub.octoparse.com/v1/data-apps/carol/reviews-query/grants"
```

## Antwort

### 200 Erfolg

```json theme={null}
{
  "data": {
    "items": []
  }
}
```

Payload ist in `data` gewrappt. Felder:

<ResponseField name="items" type="object[]" required>
  Die Grant-Liste.

  <Expandable title="fields">
    <ResponseField name="username" type="string">
      Aktueller Benutzername des freigegebenen Benutzers.
    </ResponseField>

    <ResponseField name="granted_at" type="string" required>
      Wann der Zugriff gewährt wurde.
    </ResponseField>
  </Expandable>
</ResponseField>

### Fehler

| HTTP | `code`         | `category`  | Beschreibung                             |
| ---- | -------------- | ----------- | ---------------------------------------- |
| 401  | `unauthorized` | `forbidden` | Fehlender oder ungültiger API-Schlüssel. |

Fehlerantworten nutzen `{"error": {code, category, message, retryable}}`. Siehe <a href="/docs/de/datahub/api/reference/introduction#errors">Fehler</a>.

## Client-Bibliotheken

Die Python- und JavaScript-SDKs wrappen diesen Endpoint noch nicht. REST direkt aufrufen.
