Refactor API response structure to include success status and body for all endpoints, ensuring consistent response format across the application.
Some checks failed
platform/bro-js/challenge-pl/pipeline/head There was a failure building this commit
Some checks failed
platform/bro-js/challenge-pl/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -1,20 +1,23 @@
|
||||
{
|
||||
"users": 128,
|
||||
"tasks": 34,
|
||||
"chains": 5,
|
||||
"submissions": {
|
||||
"total": 540,
|
||||
"accepted": 312,
|
||||
"rejected": 144,
|
||||
"pending": 62,
|
||||
"inProgress": 22
|
||||
},
|
||||
"averageCheckTimeMs": 5600,
|
||||
"queue": {
|
||||
"queueLength": 18,
|
||||
"waiting": 12,
|
||||
"inProgress": 6,
|
||||
"maxConcurrency": 8,
|
||||
"currentlyProcessing": 6
|
||||
"success": true,
|
||||
"body": {
|
||||
"users": 128,
|
||||
"tasks": 34,
|
||||
"chains": 5,
|
||||
"submissions": {
|
||||
"total": 540,
|
||||
"accepted": 312,
|
||||
"rejected": 144,
|
||||
"pending": 62,
|
||||
"inProgress": 22
|
||||
},
|
||||
"averageCheckTimeMs": 5600,
|
||||
"queue": {
|
||||
"queueLength": 18,
|
||||
"waiting": 12,
|
||||
"inProgress": 6,
|
||||
"maxConcurrency": 8,
|
||||
"currentlyProcessing": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user