Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/hub/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,19 @@ This is equivalent to `huggingface_hub.whoami()`.

The following endpoint gets a list of the Organization members.

### GET /api/organizations/{organization_name}/overview

Get the organization overview.

Payload:

```js
headers = { "authorization" : "Bearer $token" }
```

This is equivalent to `huggingface_hub.get_organization_overview()`.


### GET /api/organizations/{organization_name}/members

Get the organization members.
Expand All @@ -287,6 +300,17 @@ headers = { "authorization" : "Bearer $token" }

This is equivalent to `huggingface_hub.list_organization_members()`.

### GET /api/organizations/{organization_name}/followers

Get the organization followers.

Payload:

```js
headers = { "authorization" : "Bearer $token" }
```

this is equivalent to `huggingface_hub.list_organization_followers()`.

## Resource Groups API

Expand Down