Skip to content

Commit

Permalink
feat : add achievements view
Browse files Browse the repository at this point in the history
  • Loading branch information
teranixbq committed Dec 7, 2023
1 parent a437ac4 commit 31f520e
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- apidoc

jobs:
deploy-prod:
deploy-swagger:
runs-on: ubuntu-latest

steps:
Expand Down
56 changes: 55 additions & 1 deletion swagger/apidoc-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@
}
],
"tags": [
"Manage Trash Category"
"Trash Category"
],
"summary": "get detail",
"description": "get detail category trash",
Expand Down Expand Up @@ -2076,8 +2076,62 @@
}
}
}
},
"/achievements": {
"get": {
"security": [
{
"token": []
}
],
"tags": [
"Achievements"
],
"summary": "get all Achievements",
"description": "",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json":{
"examples": {
"success":{
"value":{
"status": true,
"message": "berhasil mengambil semua data",
"data": [
{
"id": 1,
"name": "platinum",
"target_point": 250000
},
{
"id": 2,
"name": "gold",
"target_point": 51000
},
{
"id": 3,
"name": "silver",
"target_point": 50000
},
{
"id": 4,
"name": "bronze",
"target_point": 0
}
]
}
}
}
}
}
}
}
}
}


},
"components": {
"parameters": {
Expand Down

0 comments on commit 31f520e

Please sign in to comment.