diff --git a/db/models.go b/db/models.go index 98a6425..b5975e8 100644 --- a/db/models.go +++ b/db/models.go @@ -197,32 +197,33 @@ type SchoolFollow struct { // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") type Post struct { - ID EncryptedID `gorm:"primary_key;column:id" json:"id"` - CreatedAt TimeMicros `gorm:"column:created_at;autoCreateTime" json:"created_at"` - UpdatedAt TimeMicros `gorm:"column:updated_at;autoUpdateTime" json:"updated_at"` - UserID string `gorm:"column:user_id" json:"-"` - SchoolID EncryptedID `gorm:"column:school_id" json:"-"` - School School `gorm:"foreignKey:SchoolID" json:"school"` - FacultyID *EncryptedID `gorm:"column:faculty_id" json:"-"` - Faculty Faculty `gorm:"foreignKey:FacultyID" json:"faculty"` - YearOfStudyID *EncryptedID `gorm:"column:year_of_study_id" json:"-"` - YearOfStudy YearOfStudy `gorm:"foreignKey:YearOfStudyID" json:"year_of_study"` - Title string `gorm:"column:title" json:"title"` - Content string `gorm:"column:content" json:"content"` - Downvote uint `gorm:"column:downvote" json:"downvote"` - Upvote uint `gorm:"column:upvote" json:"upvote"` - VoteScore int `gorm:"column:vote_score" json:"-"` // redundant to return to the user - TrendingScore float64 `gorm:"column:trending_score" json:"trending_score"` - HottestOn *datatypes.Date `gorm:"column:hottest_on" json:"hottest_on"` // intentionally a pointer, so that it defaults to NULL when created and not specified (i.e. not its zero-value) - Hidden bool `gorm:"column:hidden" json:"hidden"` - Sentiment *float64 `gorm:"column:sentiment" json:"sentiment"` - ReportCount uint `gorm:"column:report_count" json:"-"` - ReviewedByMod bool `gorm:"column:reviewed_by_mod" json:"-"` - Edited bool `gorm:"column:edited" json:"edited"` - CategoryID EncryptedID `gorm:"column:category_id" json:"-"` - Category PostCategory `gorm:"foreignKey:CategoryID" json:"category"` - CommentCount uint `gorm:"column:comment_count" json:"comment_count"` - ImgUrls PgTxtArr `gorm:"column:img_urls" json:"img_urls"` + ID EncryptedID `gorm:"primary_key;column:id" json:"id"` + CreatedAt TimeMicros `gorm:"column:created_at;autoCreateTime" json:"created_at"` + UpdatedAt TimeMicros `gorm:"column:updated_at;autoUpdateTime" json:"updated_at"` + UserID string `gorm:"column:user_id" json:"-"` + SchoolID EncryptedID `gorm:"column:school_id" json:"-"` + School School `gorm:"foreignKey:SchoolID" json:"school"` + FacultyID *EncryptedID `gorm:"column:faculty_id" json:"-"` + Faculty Faculty `gorm:"foreignKey:FacultyID" json:"faculty"` + YearOfStudyID *EncryptedID `gorm:"column:year_of_study_id" json:"-"` + YearOfStudy YearOfStudy `gorm:"foreignKey:YearOfStudyID" json:"year_of_study"` + Title string `gorm:"column:title" json:"title"` + Content string `gorm:"column:content" json:"content"` + Downvote uint `gorm:"column:downvote" json:"downvote"` + Upvote uint `gorm:"column:upvote" json:"upvote"` + VoteScore int `gorm:"column:vote_score" json:"-"` // redundant to return to the user + TrendingScore float64 `gorm:"column:trending_score" json:"trending_score"` + HottestOn *datatypes.Date `gorm:"column:hottest_on" json:"hottest_on"` // intentionally a pointer, so that it defaults to NULL when created and not specified (i.e. not its zero-value) + Hidden bool `gorm:"column:hidden" json:"hidden"` + Sentiment *float64 `gorm:"column:sentiment" json:"sentiment"` + ReportCount uint `gorm:"column:report_count" json:"-"` + ReviewedByMod bool `gorm:"column:reviewed_by_mod" json:"-"` + Edited bool `gorm:"column:edited" json:"edited"` + CategoryID EncryptedID `gorm:"column:category_id" json:"-"` + Category PostCategory `gorm:"foreignKey:CategoryID" json:"category"` + CommentCount uint `gorm:"column:comment_count" json:"comment_count"` + CommentNumerics uint `gorm:"column:comment_numerics" json:"comment_numerics"` + ImgUrls PgTxtArr `gorm:"column:img_urls" json:"img_urls"` } // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") diff --git a/features/admin/requests.http b/features/admin/requests.http index cbb9b1e..7470ec7 100644 --- a/features/admin/requests.http +++ b/features/admin/requests.http @@ -2,7 +2,7 @@ PATCH http://127.0.0.1:8080/api/v1/admin/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjE5MGFkMTE4YTk0MGFkYzlmMmY1M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.1:8080/api/v1/admin/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjE5MGFkMTE4YTk0MGFkYzlmM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ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/admin/daily-hottest-cron?day=2023-08-03 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbG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ZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/admin/expire-fcm-tokens?day=2023-06-21 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +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iJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/crons?next=1687422462194 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndR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orization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/feedback/SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D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@@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/feedback Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zV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7 +72,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/report?id=SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx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@ -80,7 +80,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/reports Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2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@@ -91,7 +91,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/admin/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_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type": "post", @@ -105,7 +105,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/admin/reviewed-by-mod Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMa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gwu1_gNA { "content_type": "post", @@ -117,7 +117,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/comments-by-report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7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cu5z-Dgwu1_gNA { "purge_cache": true, @@ -130,7 +130,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/posts-by-report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQ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ItacOSigW6Cu5z-Dgwu1_gNA { "purge_cache": true, @@ -143,7 +143,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/reports-for-post Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_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uN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "post_id": "SOME MASK", @@ -155,7 +155,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/reports-for-comment Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcI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Hv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "comment_id": "SOME MASK", @@ -166,7 +166,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/admin/send-notification Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH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kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "user_ids": ["kco5wCBnv7SOAaBFnHBHr7C3lsr1", "sP1D8MZAQpZspd1O7tufLPBFq9v1"], diff --git a/features/auth/requests.http b/features/auth/requests.http index db8ccaa..d06d224 100644 --- a/features/auth/requests.http +++ b/features/auth/requests.http @@ -15,7 +15,7 @@ Content-Type: application/json PATCH http://127.0.0.1:8080/api/v1/auth/update-email Content-Type: application/json X-AppCheck-Token: kXfeSRgYTnoUztu6MO8FndqiRayoBaJqyDKQmoqvX3V9sZVlep/cm7cP!mgd-B9H -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEzn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E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "email": "use0129384r@uvic.ca" @@ -25,7 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/auth/resend-verification-email Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0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h0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -33,7 +33,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/auth/send-password-reset-email Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2c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ZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "email": "matthew@gmail.com" diff --git a/features/comments/create.go b/features/comments/create.go index 7d93696..234254c 100644 --- a/features/comments/create.go +++ b/features/comments/create.go @@ -14,6 +14,7 @@ import ( "github.com/gin-gonic/gin" "github.com/jackc/pgx/v5/pgconn" "gorm.io/gorm" + "gorm.io/gorm/clause" ) // (error, bool, uint) -> (error, alreadyPosted, numericalUser) @@ -34,22 +35,24 @@ func getAlreadyPostedNumericalUser(tx *gorm.DB, postID uint, userID string) (err } } -func getNextIdentifier(tx *gorm.DB, postId uint) (error, uint) { +func getNextIdentifier(tx *gorm.DB, postId uint) (uint, error) { print("Getting next identifier....") - highestIdentifier := db.Comment{} + highestIdentifier := db.Post{} err := tx. - Where("post_id = ?", postId). - Where("numerical_user IS NOT NULL"). - Order("numerical_user DESC"). + Where("id = ?", postId). + Clauses(clause.Locking{Strength: "UPDATE"}). Find(&highestIdentifier). + Updates(map[string]interface{}{ + "comment_numerics": gorm.Expr("comment_numerics + ?", 1), + }). Error if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) { - return serverError, 0 + return 0, serverError } - if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.NumericalUser == nil { - return nil, 1 + if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.CommentNumerics == 0 { + return 1, nil } else { - return nil, *highestIdentifier.NumericalUser + 1 + return highestIdentifier.CommentNumerics + 1, nil } } @@ -129,6 +132,7 @@ func (h *handler) handleCreate(c *gin.Context) { err = tx. Where("comments.id = ? AND comments.post_id = ?", unmaskedCommentId, unmaskedPostId). + Clauses(clause.Locking{Strength: "UPDATE"}). Find(&parentComment). Updates(map[string]interface{}{ "children_count": gorm.Expr("children_count + ?", 1), @@ -159,7 +163,7 @@ func (h *handler) handleCreate(c *gin.Context) { var nextIdentifier uint // is OP? if !isOp { - err, nextIdentifier = getNextIdentifier(tx, unmaskedPostId) + nextIdentifier, err = getNextIdentifier(tx, unmaskedPostId) if err != nil { tx.Rollback() response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) @@ -232,6 +236,7 @@ func (h *handler) handleCreate(c *gin.Context) { res := tx. Model(&db.Post{}). Where("id = ?", unmaskedPostId). + Clauses(clause.Locking{Strength: "UPDATE"}). Updates(map[string]interface{}{"comment_count": gorm.Expr("comment_count + ?", 1)}) if res.Error != nil { tx.Rollback() diff --git a/features/comments/requests.http b/features/comments/requests.http index cdd1b79..8838843 100644 --- a/features/comments/requests.http +++ b/features/comments/requests.http @@ -3,7 +3,7 @@ POST http://127.0.0.1:8080/api/v1/comments/create Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50a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nbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "post_id": "QCYMd91t_erYefnvfUfMA4E=", @@ -15,7 +15,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/comments/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRyd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siaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "comment_id": "SOME MASK" @@ -25,7 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/comments/roots Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZ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ZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "post_id": "GyBLLRYQm31KZPkYURnQXeQ=", @@ -38,7 +38,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/comments/replies Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21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NlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "parent_root": "HrV4XQJOJkXA8HWOvYUev-w=", @@ -49,7 +49,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/comments/purge?session-key=6ba7b810-9dad-11d1-80b4-00c04fd430c8 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3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lzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -57,7 +57,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/comments/comment?id=2S5M5bF7ujrc9t41H2DSn88= Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSI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LCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -65,7 +65,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/comments/your-comments Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsIm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JlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": null @@ -75,7 +75,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/comments/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIs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CJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "comment_id": "SOME MASKED ID", diff --git a/features/drafts/requests.http b/features/drafts/requests.http index e3f5b8f..00dfb1b 100644 --- a/features/drafts/requests.http +++ b/features/drafts/requests.http @@ -2,7 +2,7 @@ POST http://127.0.0.1:8080/api/v1/drafts/create Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQ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iwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "title": "next blah this is a title 5", @@ -13,7 +13,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/drafts/your-drafts?profanity=false Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3Vi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ImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": 123123123123 @@ -25,7 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/drafts/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3Ix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Tl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "draft_id": "SOME MASKED ID", @@ -37,7 +37,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/drafts/delete Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGb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QxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "draft_id": "SOME MASKED ID" diff --git a/features/feedback/requests.http b/features/feedback/requests.http index d0acff8..8f05104 100644 --- a/features/feedback/requests.http +++ b/features/feedback/requests.http @@ -2,7 +2,7 @@ POST http://127.0.0.1:8080/api/v1/feedback/create Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJ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oic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "message": "WOAH THIS WAS SUCH AN AMAZING APP I CAN'T BELEIVE YOU DID IT!", diff --git a/features/hide_log/requests.http b/features/hide_log/requests.http index 512e3e3..387bf93 100644 --- a/features/hide_log/requests.http +++ b/features/hide_log/requests.http @@ -3,7 +3,7 @@ GET http://127.0.0.1:8080/api/v1/hide-log/your-hide-log Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNp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InVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": 1689647419058834 @@ -14,6 +14,6 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/hide-log/hide-log?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1k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3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} diff --git a/features/notifications/requests.http b/features/notifications/requests.http index 7918b3d..3cbbb0d 100644 --- a/features/notifications/requests.http +++ b/features/notifications/requests.http @@ -2,7 +2,7 @@ DELETE http://127.0.0.1:8080/api/v1/notifications/token Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLX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LCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "token": "eUMvIr2LwUunrtBhcWE0dQ:APA91bHA7wxFCx7xNNAJyR07XGw3cuzXcmU3MvjX4IC4-_KLLK0G5I8ZPXvR_i8lVk2h14REe8DzM7C64o-CSbBawLXTTjsdaJCL0NvuXTaJn95QZUujt7yuyhkGr5gashoV9DwiErLJ" @@ -12,7 +12,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/notifications/token-uid Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZG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,7 +31,7 @@ Content-Type: application/json GET http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciOiJSUzI1NiIs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ZGUwODBmZmFmYmZjMTgzMz PUT http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjE5MGFkMTE4YTk0MGFkYzlmMmY1Mzc2YjM1MjkyZmVkZThjMmQwZWUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6WyJhZG1pbiIsIm1vZF80MSIsIm1vZF8zMiIsInNfbW9kIl0sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "daily_hottest": true, diff --git a/features/posts/requests.http b/features/posts/requests.http index 3c873f3..8620bb4 100644 --- a/features/posts/requests.http +++ b/features/posts/requests.http @@ -2,7 +2,7 @@ POST http://127.0.0.1:8080/api/v1/posts/create Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciO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UzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/hottest Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: B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1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/post?id=PQlYctX5i_MRhqM0ML3Q1ME= Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVm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authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/posts?profanity=false Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4z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44,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/posts/purge?session-key=6ba7b810-9dad-11d1-80b4-00c04fd430c8 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJ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SigW6Cu5z-Dgwu1_gNA {} @@ -52,7 +52,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/sentiment?id=TqGRLQZ-BRO5ieESwaRA7Hf0 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8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nHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -60,7 +60,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/your-posts Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kc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REHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": null @@ -70,7 +70,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/posts/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8k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HREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "post_id": "SOME MASKED ID" @@ -80,7 +80,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/posts/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQ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dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "post_id": "a4dnDZsvpKXQItFYHAhVfDYrUA==", diff --git a/features/reports/requests.http b/features/reports/requests.http index c04aa28..a36c9bf 100644 --- a/features/reports/requests.http +++ b/features/reports/requests.http @@ -2,7 +2,7 @@ POST http://127.0.0.1:8080/api/v1/reports/report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r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5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "content_id": "OC897SnkKZvM5Emexg0hrzI=", @@ -15,7 +15,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/reports/reports Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAye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c0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": null @@ -25,7 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/reports/report?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9j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o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} diff --git a/features/saves/requests.http b/features/saves/requests.http index 1ff6252..96efd1b 100644 --- a/features/saves/requests.http +++ b/features/saves/requests.http @@ -2,7 +2,7 @@ POST http://127.0.0.1:8080/api/v1/saves/save Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9j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o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "content_id": "OC897SnkKZvM5Emexg0hrzI=", @@ -13,7 +13,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/saves/unsave Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9dj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p_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "content_id": "SOME MASKED ID", @@ -24,7 +24,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/saves/posts Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNg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bc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": null @@ -34,7 +34,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/saves/comments Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgo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c8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": null diff --git a/features/schools/requests.http b/features/schools/requests.http index c9ab884..471b3fa 100644 --- a/features/schools/requests.http +++ b/features/schools/requests.http @@ -2,21 +2,21 @@ GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10&school=uvicasdsad Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhM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-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} ### GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10&radius=5000 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuR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jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} ### GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iw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cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -24,7 +24,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/schools/search?query=university&lat=48.465900&long=-123.328652 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6P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_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -32,7 +32,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/schools/watch Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJu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OHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "school_id": "SfQLOaiYKxo4OOVeYb5paos=" @@ -42,7 +42,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/schools/unwatch Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-P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T57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "school_id": "SOME MASKED ID" @@ -52,7 +52,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/schools/watched?lat=48.465900&long=-123.328652 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4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tY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "include_home_school": true @@ -62,7 +62,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/schools/rank? Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_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_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "purge_cache": true, @@ -75,7 +75,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/schools/purge?session-key=6ba7b810-9dad-11d1-80b4-00c04fd430c8 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-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XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -83,6 +83,6 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/schools/random?without-school=oXzuIl6Z-VACSogbQkOLVuo= Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1D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6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} \ No newline at end of file diff --git a/features/user/requests.http b/features/user/requests.http index 564a83e..ab2944c 100644 --- a/features/user/requests.http +++ b/features/user/requests.http @@ -2,7 +2,7 @@ GET http://127.0.0.1:8080/api/v1/user/user Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8T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jkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -10,7 +10,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/user/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1D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6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -18,7 +18,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/user/faculty Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1Dmaf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WlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -26,7 +26,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/user/faculty Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJo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IbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "faculty": "ENG" @@ -36,7 +36,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz DELETE http://127.0.0.1:8080/api/v1/user/year-of-study Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8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mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -45,7 +45,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/user/year-of-study Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8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mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "year_of_study": "One" @@ -55,7 +55,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/user/school Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhM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-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "school_id": "SOME MASKED ID" @@ -67,6 +67,6 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/user/user-stats Content-Type: application/json X-AppCheck-Token: kXfeSRgYTnoUztu6MO8FndqiRayoBaJqyDKQmoqvX3V9sZVlep/cm7cP!mgd-B9H -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26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XB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} diff --git a/features/votes/requests.http b/features/votes/requests.http index 00032b5..76513a7 100644 --- a/features/votes/requests.http +++ b/features/votes/requests.http @@ -2,10 +2,10 @@ PUT http://127.0.0.1:8080/api/v1/votes/vote Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26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XB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { - "content_id": "GS2yILFqbxjpslxsSwLXabzzCw==", + "content_id": "oQa3c0wcYNRQQu0mGEEf1j1f", "value": 1, "content_type": "post" } \ No newline at end of file diff --git a/features/votes/vote.go b/features/votes/vote.go index 7947898..d05f167 100644 --- a/features/votes/vote.go +++ b/features/votes/vote.go @@ -48,6 +48,7 @@ func (h *handler) doVote(c *gin.Context, vote db.Vote, contentType string, uid s response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) return } + }() var content contentMatcher @@ -64,7 +65,7 @@ func (h *handler) doVote(c *gin.Context, vote db.Vote, contentType string, uid s var model db.Vote // find if there's an existing vote matching id and user and content type - if err := tx.Model(&model).Where(content.fieldName+" = ? AND user_id = ?", content.id, vote.UserID).First(&model).Error; err != nil { + if err := tx.Model(&model).Clauses(clause.Locking{Strength: "UPDATE"}).Where(content.fieldName+" = ? AND user_id = ?", content.id, vote.UserID).First(&model).Error; err != nil { if errors.Is(err, gorm.ErrRecordNotFound) { oldVote = 0 } else { diff --git a/migrations/000052_school_time_stamps.down.sql b/migrations/000051_school_time_stamps.down.sql similarity index 100% rename from migrations/000052_school_time_stamps.down.sql rename to migrations/000051_school_time_stamps.down.sql diff --git a/migrations/000052_school_time_stamps.up.sql b/migrations/000051_school_time_stamps.up.sql similarity index 100% rename from migrations/000052_school_time_stamps.up.sql rename to migrations/000051_school_time_stamps.up.sql diff --git a/migrations/000051_school_website.down.sql b/migrations/000052_school_website.down.sql similarity index 100% rename from migrations/000051_school_website.down.sql rename to migrations/000052_school_website.down.sql diff --git a/migrations/000051_school_website.up.sql b/migrations/000052_school_website.up.sql similarity index 100% rename from migrations/000051_school_website.up.sql rename to migrations/000052_school_website.up.sql diff --git a/migrations/000053_posts_numerical_comments.down.sql b/migrations/000053_posts_numerical_comments.down.sql new file mode 100644 index 0000000..44c0357 --- /dev/null +++ b/migrations/000053_posts_numerical_comments.down.sql @@ -0,0 +1,9 @@ +BEGIN; + +ALTER TABLE posts DROP COLUMN IF EXISTS comment_numerics; +-- Remove Positive constraint on up_vote and down_vote +-- Drop the constraint using its name +ALTER TABLE posts DROP CONSTRAINT IF EXISTS upvotes_positive; +ALTER TABLE posts DROP CONSTRAINT IF EXISTS downvotes_positive; + +END; diff --git a/migrations/000053_posts_numerical_comments.up.sql b/migrations/000053_posts_numerical_comments.up.sql new file mode 100644 index 0000000..e1d6183 --- /dev/null +++ b/migrations/000053_posts_numerical_comments.up.sql @@ -0,0 +1,9 @@ +BEGIN; + +ALTER TABLE posts ADD COLUMN comment_numerics INTEGER NOT NULL DEFAULT 0; +-- Make down_vote and up_vote contrainted to be positive on posts table +ALTER TABLE posts ADD CONSTRAINT upvotes_positive CHECK (upvote >= 0); +ALTER TABLE posts ADD CONSTRAINT downvotes_positive CHECK (downvote >= 0); + +END; + diff --git a/migrations/000053_school_timezones.down.sql b/migrations/000058_school_timezones.down.sql similarity index 100% rename from migrations/000053_school_timezones.down.sql rename to migrations/000058_school_timezones.down.sql diff --git a/migrations/000053_school_timezones.up.sql b/migrations/000058_school_timezones.up.sql similarity index 100% rename from migrations/000053_school_timezones.up.sql rename to migrations/000058_school_timezones.up.sql