# Api reference

### Public Endpoints

Content is accessible via RESTful patterns:

```
GET /videos/{username}/{slug}/{id}
GET /shorts/{username}/{slug}/{id}
GET /stream/{id}
GET /profile/{username}
```

### Authentication Headers

```
Authorization: Bearer <supabase_jwt>
```

### Rate Limits

| Endpoint Type | Limit      |
| ------------- | ---------- |
| Public reads  | 100/minute |
| Authenticated | 300/minute |
| Uploads       | 10/hour    |
| Payments      | 50/minute  |
