176 lines
3.3 KiB
JSON
176 lines
3.3 KiB
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"title": "Voltaserve Identity Provider",
|
|
"version": "1.0.0",
|
|
"description": ""
|
|
},
|
|
"host": "localhost:3000",
|
|
"basePath": "/",
|
|
"schemes": [
|
|
"http"
|
|
],
|
|
"paths": {
|
|
"/v1/health": {
|
|
"get": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/": {
|
|
"get": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"description": "Bad Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/update_full_name": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/update_email_request": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/update_email_confirmation": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/update_password": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"description": "Bad Request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/update_picture": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/user/delete_picture": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/accounts/": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/accounts/reset_password": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/accounts/confirm_email": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/accounts/send_reset_password_email": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/v1/token/": {
|
|
"post": {
|
|
"description": "",
|
|
"parameters": [],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"description": "Bad Request"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |