mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-05-27 22:22:36 +02:00
5caeff2f1c
Reorder folders based on learning dependencies, complexity, and frequency of use: - 01-slash-commands (unchanged) - Quick wins for beginners - 02-memory (was 03) - Essential foundation - 03-skills (was 05) - Auto-invoked capabilities - 04-subagents (was 02) - Task delegation - 05-mcp (was 04) - External integration - 06-hooks (was 07) - Event automation - 07-plugins (was 06) - Bundled solutions - 08-checkpoints (unchanged) - Safe experimentation - 09-advanced-features (unchanged) - Power user tools Documentation improvements: - Add LEARNING-ROADMAP.md with detailed milestones and exercises - Simplify README.md for better scannability - Consolidate Quick Start and Getting Started sections - Combine Feature Comparison and Use Case Matrix tables - Reorder README sections: Learning Path → Quick Reference → Getting Started - Update all cross-references across module READMEs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
102 lines
1.7 KiB
Markdown
102 lines
1.7 KiB
Markdown
# [METHOD] /api/v1/[endpoint]
|
|
|
|
## Description
|
|
Brief explanation of what this endpoint does.
|
|
|
|
## Authentication
|
|
Required authentication method (e.g., Bearer token).
|
|
|
|
## Parameters
|
|
|
|
### Path Parameters
|
|
| Name | Type | Required | Description |
|
|
|------|------|----------|-------------|
|
|
| id | string | Yes | Resource ID |
|
|
|
|
### Query Parameters
|
|
| Name | Type | Required | Description |
|
|
|------|------|----------|-------------|
|
|
| page | integer | No | Page number (default: 1) |
|
|
| limit | integer | No | Items per page (default: 20) |
|
|
|
|
### Request Body
|
|
```json
|
|
{
|
|
"field": "value"
|
|
}
|
|
```
|
|
|
|
## Responses
|
|
|
|
### 200 OK
|
|
```json
|
|
{
|
|
"success": true,
|
|
"data": {
|
|
"id": "123",
|
|
"name": "Example"
|
|
}
|
|
}
|
|
```
|
|
|
|
### 400 Bad Request
|
|
```json
|
|
{
|
|
"success": false,
|
|
"error": {
|
|
"code": "VALIDATION_ERROR",
|
|
"message": "Invalid input"
|
|
}
|
|
}
|
|
```
|
|
|
|
### 404 Not Found
|
|
```json
|
|
{
|
|
"success": false,
|
|
"error": {
|
|
"code": "NOT_FOUND",
|
|
"message": "Resource not found"
|
|
}
|
|
}
|
|
```
|
|
|
|
## Examples
|
|
|
|
### cURL
|
|
```bash
|
|
curl -X GET "https://api.example.com/api/v1/endpoint" \
|
|
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
-H "Content-Type: application/json"
|
|
```
|
|
|
|
### JavaScript
|
|
```javascript
|
|
const response = await fetch('/api/v1/endpoint', {
|
|
headers: {
|
|
'Authorization': 'Bearer token',
|
|
'Content-Type': 'application/json'
|
|
}
|
|
});
|
|
const data = await response.json();
|
|
```
|
|
|
|
### Python
|
|
```python
|
|
import requests
|
|
|
|
response = requests.get(
|
|
'https://api.example.com/api/v1/endpoint',
|
|
headers={'Authorization': 'Bearer token'}
|
|
)
|
|
data = response.json()
|
|
```
|
|
|
|
## Rate Limits
|
|
- 1000 requests per hour for authenticated users
|
|
- 100 requests per hour for public endpoints
|
|
|
|
## Related Endpoints
|
|
- [GET /api/v1/related](#)
|
|
- [POST /api/v1/related](#)
|