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

148 lines
4.8 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"StorageKeys": {
"AccessToken": "access_token",
"RefreshToken": "refresh_token"
},
"Style": {
"DefaultPanelPadding": 4
},
"Endpoints": {
"Base": "https://localhost:7160",
"Accounts": {
"Base": "/accounts",
"Register": "/register",
"Authenticate": "/authenticate",
"AuthenticateRefresh": "/authenticate_refresh",
"Logout": "/logout",
"GetAccountProfilePicture": "/{0}/profile_picture",
"PutAccountProfilePicture": "/profile_picture",
"DeleteAccountProfilePicture": "/profile_picture",
"GetAccountProfileBackground": "/{0}/profile_background",
"PutAccountProfileBackground": "/profile_background",
"DeleteAccountProfileBackground": "/profile_background",
"GetAccount": "/{0}",
"PutAccountProfileInfo": "/profile_info",
"PatchAccountUsername": "/username",
"PatchAccountEmail": "/email",
"PatchAccountPassword": "/password",
"GetAccountRatedMovies": "/{0}/movies",
"GetAccountRatedSeries": "/{0}/series",
"GetAccountRatedPersons": "/{0}/persons"
},
"Genders": {
"Base": "/genders",
"GetAllGenders": "",
"GetGender": "/{0}",
"PostGender": "",
"DeleteGender": "/{0}"
},
"Genres": {
"Base": "/genres",
"GetAll": "",
"Get": "/{0}",
"Post": "",
"Put": "/{0}",
"Delete": "/{0}"
},
"Media": {
"Base": "/media",
"GetAllMedia": "",
"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",
"GetMediaAllActorRoles": "/{0}/roles/actor",
"PostMediaActorRole": "/{0}/roles/actor",
"GetMediaAllCreatorRoles": "/{0}/roles/creator",
"PostMediaCreatorRole": "/{0}/roles/creator"
},
"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",
"PostPersonsView": "/{0}/view",
"GetPersonPhoto": "/{0}/photo",
"PutPersonPhoto": "/{0}/photo",
"DeletePersonPhoto": "/{0}/photo",
"GetPersonAllActorRoles": "/{0}/roles/actor",
"PostPersonActorRole": "/{0}/roles/actor",
"GetPersonAllCreatorRoles": "/{0}/roles/creator",
"PostPersonCreatorRole": "/{0}/roles/creator",
"GetPersonGlobalRating": "/{0}/rating",
"GetPersonUserRating": "/{0}/rating/{1}"
},
"Roles": {
"Base": "/roles",
"GetActorRole": "/actor/{0}",
"PutActorRole": "/actor/{0}",
"DeleteActorRole": "/actor/{0}",
"GetActorRoleRating": "/actor/{0}/rating",
"GetActorRoleRatingByUser": "/actor/{0}/rating/{1}",
"PutActorRoleRating": "/actor/{0}/rating",
"DeleteActorRoleRating": "/actor/{0}/rating",
"GetAllActorRoleTypes": "/actor/type",
"GetActorRoleType": "/actor/type/{0}",
"PostActorRoleType": "/actor/type",
"DeleteActorRoleType": "/actor/type/{0}",
"GetCreatorRole": "/creator/{0}",
"PutCreatorRole": "/creator/{0}",
"DeleteCreatorRole": "/creator/{0}",
"GetCreatorRoleRating": "/creator/{0}/rating",
"GetCreatorRoleRatingByUser": "/creator/{0}/rating/{1}",
"PutCreatorRoleRating": "/creator/{0}/rating",
"DeleteCreatorRoleRating": "/creator/{0}/rating",
"GetAllCreatorRoleTypes": "/creator/type",
"GetCreatorRoleType": "/creator/type/{0}",
"PostCreatorRoleType": "/creator/type",
"DeleteCreatorRoleType": "/creator/type/{0}"
}
}
}