Skip to content

Commit

Permalink
feat: join community
Browse files Browse the repository at this point in the history
  • Loading branch information
tiarajuliarsita committed Dec 11, 2023
1 parent 6814fca commit d739fa3
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions swagger/apidoc-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -2519,6 +2519,42 @@
}
}
},
"/communities/{idKomunitas}":{
"post": {
"security": [
{
"token": []
}
],
"tags": [
"Communities"
],
"summary": "join community",
"description": "join community",
"parameters": [
{
"$ref": "#/components/parameters/idKomunitas"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"examples": {
"200": {
"value":{
"status": true,
"message": "berhasil bergabung dengan komunitas"
}
}
}
}
}
}
}
}
},
"/users/event/{idkomunitas}":{
"get": {
"security": [
Expand Down Expand Up @@ -2860,6 +2896,15 @@
"type": "string"
}
},
"idKomunitas": {
"name": "idKomunitas",
"in": "path",
"description": "id komunitas",
"required": true,
"schema": {
"type": "string"
}
},
"idevent": {
"name": "idevent",
"in": "path",
Expand Down

0 comments on commit d739fa3

Please sign in to comment.