-
Versions
Concepts
Resources
- Attachment
- Bulk-Export
- Bulk-Import
- Comment
- Countries
- Heartbeat
- Notification
- Question
- Question Follow
- Question Forward
- Question Updates
- Search
- Share content
- Settings
- Solution
- Tag
- User
Solution value
Solution value is a feature which, when enabled, allows users to specify a value in minutes that a solution to his own questions has for him.
Set solution value
PUT /solutions/:id/time-saved
Parameter | Type | Required | Description |
---|---|---|---|
type |
"minutes"|"undeterminable" |
✓ | Type of |
minutes |
int |
only if type = "minutes" |
Time saved in minutes. |
feedback |
string |
X | User feedback. |
Set the time saved for the given solution. This can only done by the poser of the solved question after he has rated the solution with four or more.
Response
{
"minutes": 120,
"type": "minutes",
}
or
{
"type": "undeterminable",
"feedback": "I saved more time than the current age of the universe!"
}