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

95 lines
2.5 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"
},
"Genders": {
"Base": "/genders",
"GetAllGenders": "",
"GetGender": "/{0}",
"PostGender": "",
"DeleteGender": "/{0}"
},
"Genres": {
"Base": "/genres",
"GetAll": "",
"Get": "/{0}",
"Post": "",
"Put": "/{0}",
"Delete": "/{0}"
},
"Media": {
"Base": "/media",
"GetMedia": "/{0}",
"GetMediaGenres": "/{0}/genres",
"PostMediaGenre": "/{0}/genres/{1}",
"DeleteMediaGenre": "/{0}/genres/{1}",
"GetMediaRating": "/{0}/rating",
"GetMediaRatingByUser": "/{0}/rating/{1}",
"PutMediaRating": "/{0}/rating",
"DeleteMediaRating": "/{0}/rating",
"PostMediaView": "/{0}/view",
"GetMediaPoster": "/{0}/poster",
"PutMediaPoster": "/{0}/poster",
"DeleteMediaPoster": "/{0}/poster",
"GetMediaPhotos": "/{0}/photos",
"GetMediaPhotoRandomBackground": "/{0}/photos/random_background",
"PostMediaPhoto": "/{0}/photos"
},
"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"
},
"Photos": {
"Base": "/photos",
"GetPhotoRandomBackground": "/random_background",
"DeletePhoto": "/{0}",
"PutPhotoBackgroundData": "/{0}/background_data",
"DeletePhotoBackgroundData": "/{0}/background_data"
},
"Persons": {
"Base": "/persons",
"GetAllPersons": "",
"GetPerson": "/{0}",
"PostPerson": "",
"PutPerson": "/{0}",
"DeletePerson": "/{0}",
"GetPersonsViewRank": "/view",
"GetPersonPhoto": "/{0}/photo",
"PutPersonPhoto": "/{0}/photo",
"DeletePersonPhoto": "/{0}/photo"
}
}
}