Various improvements
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# StoryCove - Story Collections Feature Specification
|
||||
|
||||
> **✅ Implementation Status: COMPLETED**
|
||||
> This feature has been fully implemented and is available in the system.
|
||||
> Last updated: January 2025
|
||||
|
||||
## 1. Feature Overview
|
||||
|
||||
Story Collections allow users to organize stories into ordered lists for better content management and reading workflows. Collections support custom ordering, metadata, and provide an enhanced reading experience for grouped content.
|
||||
@@ -234,7 +238,55 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
### 3.3 Batch Operations
|
||||
### 3.3 Collection EPUB Export
|
||||
|
||||
#### GET /api/collections/{id}/epub
|
||||
Export collection as EPUB file with default settings
|
||||
- Includes all stories in collection order
|
||||
- Includes collection metadata as book metadata
|
||||
- Includes cover image if available
|
||||
- Generates table of contents
|
||||
|
||||
#### POST /api/collections/{id}/epub
|
||||
Export collection as EPUB with custom options
|
||||
```json
|
||||
Request:
|
||||
{
|
||||
"includeCoverImage": true,
|
||||
"includeMetadata": true,
|
||||
"includeTableOfContents": true
|
||||
}
|
||||
|
||||
Response: EPUB file download with filename format:
|
||||
{collection-name}-{export-date}.epub
|
||||
```
|
||||
|
||||
### 3.4 Collection Statistics
|
||||
|
||||
#### GET /api/collections/{id}/stats
|
||||
Get detailed collection statistics
|
||||
```json
|
||||
Response:
|
||||
{
|
||||
"totalStories": 15,
|
||||
"totalWordCount": 125000,
|
||||
"estimatedReadingTime": 625,
|
||||
"averageStoryRating": 4.2,
|
||||
"tagFrequency": {
|
||||
"fantasy": 12,
|
||||
"adventure": 8
|
||||
},
|
||||
"authorDistribution": [
|
||||
{"authorName": "string", "storyCount": 5}
|
||||
],
|
||||
"readingProgress": {
|
||||
"storiesRead": 8,
|
||||
"percentComplete": 53.3
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 3.5 Batch Operations
|
||||
|
||||
#### POST /api/stories/batch/add-to-collection
|
||||
Add multiple stories to a collection
|
||||
|
||||
Reference in New Issue
Block a user