Files
WatchIt/WatchIt.Website/WatchIt.Website/appsettings.json

74 lines
1.9 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"StorageKeys": {
"AccessToken": "access_token",
"RefreshToken": "refresh_token"
},
"Endpoints": {
"Base": "https://localhost:7160",
"Accounts": {
"Base": "/accounts",
"Register": "/register",
"Authenticate": "/authenticate",
"AuthenticateRefresh": "/authenticate-refresh",
"Logout": "/logout",
"GetProfilePicture": "/{0}/profile-picture"
},
"Genres": {
"Base": "/genres",
"GetAll": "",
"Get": "/{0}",
"Post": "",
"Put": "/{0}",
"Delete": "/{0}"
},
"Media": {
"Base": "/media",
"Get": "/{0}",
"GetGenres": "/{0}/genres",
"PostGenre": "/{0}/genres/{1}",
"DeleteGenre": "/{0}/genres/{1}",
"GetMediaRating": "/{0}/rating",
"GetMediaRatingByUser": "/{0}/rating/{1}",
"PutMediaRating": "/{0}/rating",
"DeleteMediaRating": "/{0}/rating",
"PostMediaView": "/{0}/view",
"GetPhotoMediaRandomBackground": "/{0}/photos/random_background",
"GetPoster": "/{0}/poster",
"PutPoster": "/{0}/poster",
"DeletePoster": "/{0}/poster",
"GetPhoto": "/photos/{0}",
"GetPhotos": "/photos",
"GetPhotoRandomBackground": "/photos/random_background",
"PostPhoto": "/photos",
"PutPhoto": "/photos/{0}",
"DeletePhoto": "/photos/{0}"
},
"Movies": {
"Base": "/movies",
"GetAllMovies": "",
"GetMovie": "/{0}",
"PostMovie": "",
"PutMovie": "/{0}",
"DeleteMovie": "/{0}",
"GetMoviesViewRank": "/view"
},
"Series": {
"Base": "/series",
"GetAllSeries": "",
"GetSeries": "/{0}",
"PostSeries": "",
"PutSeries": "/{0}",
"DeleteSeries": "/{0}",
"GetSeriesViewRank": "/view"
}
}
}