18 lines
532 B
Plaintext
18 lines
532 B
Plaintext
---
|
|
description:
|
|
globs:
|
|
alwaysApply: false
|
|
---
|
|
# API Structure
|
|
|
|
The API follows a versioned structure under the path prefix `/doc_ai/v1/`.
|
|
|
|
- [api/router.go](mdc:api/router.go): Main router setup that connects all API endpoints
|
|
- API endpoints are organized by domain:
|
|
- Formula: [api/v1/formula/](mdc:api/v1/formula)
|
|
- OSS (Object Storage): [api/v1/oss/](mdc:api/v1/oss)
|
|
- Task: [api/v1/task/](mdc:api/v1/task)
|
|
- User: [api/v1/user/](mdc:api/v1/user)
|
|
|
|
Each domain has its own router setup and controller implementation.
|