aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 442745f..5ba8a71 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -673,6 +673,43 @@
673 } 673 }
674 } 674 }
675 }, 675 },
676 "/token": {
677 "get": {
678 "produces": [
679 "application/json"
680 ],
681 "tags": [
682 "auth"
683 ],
684 "summary": "Gets the token cookie value from the user.",
685 "responses": {
686 "200": {
687 "description": "OK",
688 "schema": {
689 "allOf": [
690 {
691 "$ref": "#/definitions/models.Response"
692 },
693 {
694 "type": "object",
695 "properties": {
696 "data": {
697 "$ref": "#/definitions/models.LoginResponse"
698 }
699 }
700 }
701 ]
702 }
703 },
704 "404": {
705 "description": "Not Found",
706 "schema": {
707 "$ref": "#/definitions/models.Response"
708 }
709 }
710 }
711 }
712 },
676 "/users/{id}": { 713 "/users/{id}": {
677 "get": { 714 "get": {
678 "consumes": [ 715 "consumes": [