{ "schemes": [ "http" ], "swagger": "2.0", "info": { "description": "Easy and feature-rich wishlist.", "title": "Easywish client API", "contact": {}, "license": { "name": "GPL-3.0" }, "version": "1.0" }, "basePath": "/api/", "paths": { "/account/changePassword": { "put": { "security": [ { "JWT": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Account" ], "summary": "Change account password", "responses": {} } }, "/profile": { "patch": { "security": [ { "JWT": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Profile" ], "summary": "Update profile", "responses": {} } }, "/profile/me": { "get": { "security": [ { "JWT": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Profile" ], "summary": "Get own profile when authorized", "responses": {} } }, "/profile/privacy": { "get": { "security": [ { "JWT": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Profile" ], "summary": "Get profile privacy settings", "responses": {} }, "patch": { "security": [ { "JWT": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Profile" ], "summary": "Update profile privacy settings", "responses": {} } }, "/profile/{username}": { "get": { "security": [ { "JWT": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Profile" ], "summary": "Get someone's profile details", "parameters": [ { "type": "string", "description": "Username", "name": "username", "in": "path", "required": true } ], "responses": {} } } }, "securityDefinitions": { "JWT": { "type": "apiKey", "name": "Authorization", "in": "header" } } }