[REPO REFACTOR]: changed to a better git repository structure with branches
This commit is contained in:
47
public/config/settings.prod.json
Normal file
47
public/config/settings.prod.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"apiConfig": {
|
||||
"baseUrl": "https://api.miarma.net/cine/v1",
|
||||
"baseRawUrl": "https://api.miarma.net/cine/raw/v1",
|
||||
"coreUrl": "https://api.miarma.net/v1",
|
||||
"coreRawUrl": "https://api.miarma.net/raw/v1",
|
||||
"authUrl": "https://api.miarma.net/auth/v1",
|
||||
"endpoints": {
|
||||
"auth": {
|
||||
"login": "/login",
|
||||
"validateToken": "/validate-token",
|
||||
"refreshToken": "/refresh-token",
|
||||
"changePassword": "/change-password",
|
||||
"loginValidate": "/login/validate"
|
||||
},
|
||||
"movies": {
|
||||
"getAll": "/movies",
|
||||
"getById": "/movies/:movie_id",
|
||||
"getVotes": "/movies/:movie_id/votes",
|
||||
"getVotesSelf": "/movies/:movie_id/votes/self"
|
||||
},
|
||||
"viewers": {
|
||||
"getAll": "/viewers",
|
||||
"getById": "/viewers/:viewer_id",
|
||||
"getVotesByUserAndMovieId": "/viewers/:viewer_id/votes/:movie_id",
|
||||
"metadata": "/viewers/metadata"
|
||||
},
|
||||
"files": {
|
||||
"all": "/files",
|
||||
"byId": "/files/:file_id",
|
||||
"upload": "/files/upload",
|
||||
"download": "/files/download/:file_id",
|
||||
"userFiles": "/files/myfiles"
|
||||
},
|
||||
"users": {
|
||||
"getAll": "/users",
|
||||
"getById": "/users/:user_id",
|
||||
"getStatus": "/users/:user_id/status",
|
||||
"getRole": "/users/:user_id/role",
|
||||
"checkExists": "/users/:user_id/exists",
|
||||
"getAvatar": "/users/:user_id/avatar",
|
||||
"updateAvatar": "/users/:user_id/avatar",
|
||||
"getSelfInfo": "/users/me"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user