From 05a0d9f181bbf74ef64cbae5dfb417593ddbb152 Mon Sep 17 00:00:00 2001 From: Chris <81205126+TalentedB@users.noreply.github.com> Date: Wed, 9 Aug 2023 19:57:34 -0700 Subject: [PATCH 1/8] Fix Race Conditions --- db/models.go | 51 ++++++++++--------- features/comments/create.go | 26 ++++++---- features/comments/requests.http | 4 +- features/votes/requests.http | 4 +- features/votes/vote.go | 1 + .../000051_posts_numerical_comments.down.sql | 5 ++ .../000051_posts_numerical_comments.up.sql | 6 +++ 7 files changed, 57 insertions(+), 40 deletions(-) create mode 100644 migrations/000051_posts_numerical_comments.down.sql create mode 100644 migrations/000051_posts_numerical_comments.up.sql diff --git a/db/models.go b/db/models.go index 889ed5dd..2d693770 100644 --- a/db/models.go +++ b/db/models.go @@ -112,31 +112,32 @@ type SchoolFollow struct { // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") type Post struct { - ID int `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 uint `gorm:"column:school_id" json:"-"` - School School `gorm:"foreignKey:SchoolID" json:"school"` - FacultyID *uint `gorm:"column:faculty_id" json:"-"` - Faculty Faculty `gorm:"foreignKey:FacultyID" json:"faculty"` - YearOfStudyID *uint `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 uint `gorm:"column:category_id" json:"-"` - Category PostCategory `gorm:"foreignKey:CategoryID" json:"category"` - CommentCount uint `gorm:"column:comment_count" json:"comment_count"` + ID int `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 uint `gorm:"column:school_id" json:"-"` + School School `gorm:"foreignKey:SchoolID" json:"school"` + FacultyID *uint `gorm:"column:faculty_id" json:"-"` + Faculty Faculty `gorm:"foreignKey:FacultyID" json:"faculty"` + YearOfStudyID *uint `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 uint `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"` } // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") diff --git a/features/comments/create.go b/features/comments/create.go index db1eb9ce..7092b84e 100644 --- a/features/comments/create.go +++ b/features/comments/create.go @@ -13,6 +13,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) @@ -33,23 +34,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"). - Limit(1). + 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, nil } - if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.NumericalUser == nil { - return nil, 1 + if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.CommentNumerics == nil { + return 1, nil } else { - return nil, *highestIdentifier.NumericalUser + 1 + return *highestIdentifier.CommentNumerics + 1, nil } } @@ -114,6 +116,7 @@ func (h *handler) handleCreate(c *gin.Context) { err = tx. Where("comments.id = ? AND comments.post_id = ?", req.ParentCommentID, req.PostID). + Clauses(clause.Locking{Strength: "UPDATE"}). Find(&parentComment). Updates(map[string]interface{}{ "children_count": gorm.Expr("children_count + ?", 1), @@ -144,7 +147,7 @@ func (h *handler) handleCreate(c *gin.Context) { var nextIdentifier uint // is OP? if !isOp { - err, nextIdentifier = getNextIdentifier(tx, req.PostID) + nextIdentifier, err = getNextIdentifier(tx, req.PostID) if err != nil { tx.Rollback() response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) @@ -216,6 +219,7 @@ func (h *handler) handleCreate(c *gin.Context) { if req.ParentCommentID != nil { res := tx. Model(&db.Post{}). + Clauses(clause.Locking{Strength: "UPDATE"}). Where("id = ?", req.PostID). Updates(map[string]interface{}{"comment_count": gorm.Expr("comment_count + ?", 1)}) if res.Error != nil { diff --git a/features/comments/requests.http b/features/comments/requests.http index 1108e48d..13c467be 100644 --- a/features/comments/requests.http +++ b/features/comments/requests.http @@ -3,11 +3,11 @@ POST http://127.0.0.1:8080/api/v1/comments/create Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImNmM2I1YWRhM2NhMzkxNTQ4ZDM1OTJiMzU5MjkyM2UzNjAxMmI5MTQiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTE1NzYyNDUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MTU3NjI0NSwiZXhwIjoxNjkxNTc5ODQ1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.nk82dUUoOC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4OvDeFYjeUrCemibadaUxRHy5Wdk5-SjEVQIqEFB20znYXu4UKMkh-UrtBZ8PbP7bpBDxjsT4sSrFFYTmzxEElgoQpyn6qeao77oczkoNywSh7DIg7U0iPffXm6UoU4AkaAkKxq_bAlg0t3HL_9EgSWmHsR3oG9o_pvZJXUDY4NTziHLanppQyPgGIdXPu4a2TBZ1r_upeWQ0v8JrPYpP8QgpNrMSaWR8caHsCATliHv_dAEXHPCyuw3YKIhl7_IIC7SAV0zVDNf1N5GDPu2imst8MbspYg { "post_id": 29, - "parent_comment_id": 232, + "parent_comment_id": null, "content": "thanks dude" } diff --git a/features/votes/requests.http b/features/votes/requests.http index d5d2d050..e7b9007a 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 eyJhbGciOiJSUzI1NiIsImtpZCI6ImNmM2I1YWRhM2NhMzkxNTQ4ZDM1OTJiMzU5MjkyM2UzNjAxMmI5MTQiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTE1NzYyNDUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MTU3NjI0NSwiZXhwIjoxNjkxNTc5ODQ1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJ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gKZJ-CGP0X9pjUkyGGIcF54jRlf9kWcC8t55BPeFE9ZeSQUQ1pJLSDg_2hH4VTN-76N1_yLlQFcgg2mVCMnMgelGz6AYyOF1iHZrB7uWQw0unX0aTNdZIe9dhUkJJ0JQlK3vY9L5prJVeHqNE46ilq4xL3b-53ooP33kosSfiQbUsBpDd_uDM8VRDSX_JR3JmfgrtAHAXxSPDT9iD9JFTZDlzMfJSJRoz3Cg8Jb2TSdcl6V7c8CWtO2I57J3IoSsSpySkBe5QIAeiHQVs2mh-7GqGMptQ0n9q5f7Vo1_H5474m3t66j8bZj0wHjWRvdECtLUw { - "content_id": 27, + "content_id": 19, "value": 1, "content_type": "post" } \ No newline at end of file diff --git a/features/votes/vote.go b/features/votes/vote.go index 549fac11..46788d91 100644 --- a/features/votes/vote.go +++ b/features/votes/vote.go @@ -139,6 +139,7 @@ func (h *handler) doVote(c *gin.Context, vote db.Vote, contentType string, uid s // update the score of the content query := tx.Model(&content.model). Where("id = ?", content.id). + Clauses(clause.Locking{Strength: "UPDATE"}). Updates(columnUpdates). Clauses(clause.Returning{}). Select("upvote, downvote"). diff --git a/migrations/000051_posts_numerical_comments.down.sql b/migrations/000051_posts_numerical_comments.down.sql new file mode 100644 index 00000000..b3ed8334 --- /dev/null +++ b/migrations/000051_posts_numerical_comments.down.sql @@ -0,0 +1,5 @@ +BEGIN; + +ALTER TABLE posts DROP COLUMN comment_numerics; + +END; \ No newline at end of file diff --git a/migrations/000051_posts_numerical_comments.up.sql b/migrations/000051_posts_numerical_comments.up.sql new file mode 100644 index 00000000..43585311 --- /dev/null +++ b/migrations/000051_posts_numerical_comments.up.sql @@ -0,0 +1,6 @@ +BEGIN; + +ALTER TABLE posts ADD COLUMN comment_numerics INTEGER NOT NULL DEFAULT 0; + +END; + From 186bb75f4271ad3e5ecdc0e96cb4d72735709f96 Mon Sep 17 00:00:00 2001 From: Chris <81205126+TalentedB@users.noreply.github.com> Date: Wed, 9 Aug 2023 20:09:01 -0700 Subject: [PATCH 2/8] fix: Fixes Commented out error --- features/comments/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/comments/create.go b/features/comments/create.go index 7092b84e..3f60e7a4 100644 --- a/features/comments/create.go +++ b/features/comments/create.go @@ -46,7 +46,7 @@ func getNextIdentifier(tx *gorm.DB, postId uint) (uint, error) { }). Error if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) { - return 0, nil + return 0, serverError } if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.CommentNumerics == nil { return 1, nil From fc030ce27135cd68e250e6f7be437e8742229c16 Mon Sep 17 00:00:00 2001 From: Chris <81205126+TalentedB@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:56:30 -0700 Subject: [PATCH 3/8] fix: Fixes race condition for votes and fixes creating posts --- db/models.go | 2 +- features/comments/create.go | 4 ++-- features/posts/requests.http | 2 +- features/votes/requests.http | 4 ++-- features/votes/vote.go | 1 - migrations/000051_posts_numerical_comments.down.sql | 3 +++ migrations/000051_posts_numerical_comments.up.sql | 3 +++ 7 files changed, 12 insertions(+), 7 deletions(-) diff --git a/db/models.go b/db/models.go index 2d693770..a298c7ed 100644 --- a/db/models.go +++ b/db/models.go @@ -137,7 +137,7 @@ type Post struct { CategoryID uint `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"` + CommentNumerics uint `gorm:"column:comment_numerics" json:"comment_numerics"` } // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") diff --git a/features/comments/create.go b/features/comments/create.go index 3f60e7a4..d87b2e07 100644 --- a/features/comments/create.go +++ b/features/comments/create.go @@ -48,10 +48,10 @@ func getNextIdentifier(tx *gorm.DB, postId uint) (uint, error) { if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) { return 0, serverError } - if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.CommentNumerics == nil { + if errors.Is(err, gorm.ErrRecordNotFound) || highestIdentifier.CommentNumerics == 0 { return 1, nil } else { - return *highestIdentifier.CommentNumerics + 1, nil + return highestIdentifier.CommentNumerics + 1, nil } } diff --git a/features/posts/requests.http b/features/posts/requests.http index 0ee91cd2..fe0f1ee4 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 eyJhbGciOiJSUzI1NiIsImtpZCI6ImNmM2I1YWRhM2NhMzkxNTQ4ZDM1OTJiMzU5MjkyM2UzNjAxMmI5MTQiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTE1NzYyNDUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MTU3NjI0NSwiZXhwIjoxNjkxNTc5ODQ1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.nk82dUUoOCovDM6ynF-Fsa_kFuzpWepvt44MqqAFrmbJIP56xZWPARBO-sKB3GVPC0eepme9fPEX6zxFxZVupK__2mwPF6l5oKOIVzbip1T495GskyR7BOujBscET6rnnNVILP5BPKG_KAfvWxMOMNuheQQ7U8DXI1eAr5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kI9UBoaidRoAchVux3j-700bkALnRlabI2HBkLvO82X5MbHM6VZl1naY1W52NVQfZ7c7eF7kTSkrbO_xfr6ktHm8eJp5DSHoeWhVaMn9kk9HZNRsA381y_RoUnqPDK7R7BOxNA { "title": "NEW NEWN EWblah this is a title", diff --git a/features/votes/requests.http b/features/votes/requests.http index e7b9007a..af2f3d4d 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 eyJhbGciOiJSUzI1NiIsImtpZCI6ImNmM2I1YWRhM2NhMzkxNTQ4ZDM1OTJiMzU5MjkyM2UzNjAxMmI5MTQiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6WyJhZG1pbiIsIm1vZF80MSIsIm1vZF8xMzIiLCJzX21vZCJdLCJzeW5jIjp0cnVlLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vY29uZmVzaS1zZXJ2ZXItZGV2IiwiYXVkIjoiY29uZmVzaS1zZXJ2ZXItZGV2IiwiYXV0aF90aW1lIjoxNjkxNjE1MDI0LCJ1c2VyX2lkIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsInN1YiI6InNQMUQ4TVpBUXBac3BkMU83dHVmTFBCRnE5djEiLCJpYXQiOjE2OTE2MTUwMjQsImV4cCI6MTY5MTYxODYyNCwiZW1haWwiOiJodWtjaHJpc3RvcGhlcjEyQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbImh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XDbjkVliFw8OEhf_PgKZJ-CGP0X9pjUkyGGIcF54jRlf9kWcC8t55BPeFE9ZeSQUQ1pJLSDg_2hH4VTN-76N1_yLlQ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w8CnOd1R3rOHAeHO9UpeQUze6_YSdIlH2sSK3xIJ7utCse6LTuL3lpcGu6AOCOZTgn6GiGOo2_X8zNqV0JramOntoKQEWsrkl69uxvvKCB8OL8vpjGE7YywVO9urjgnG8QQ5rKtHPQpmlODfysa17RM0Uf7v2aAMG_4nElhG0lMoN8XE08NWUy5ruY3zTWj3zOP6Qtkw4W9on_5OzP6rLbJDeDNw { "content_id": 19, - "value": 1, + "value":1, "content_type": "post" } \ No newline at end of file diff --git a/features/votes/vote.go b/features/votes/vote.go index 46788d91..549fac11 100644 --- a/features/votes/vote.go +++ b/features/votes/vote.go @@ -139,7 +139,6 @@ func (h *handler) doVote(c *gin.Context, vote db.Vote, contentType string, uid s // update the score of the content query := tx.Model(&content.model). Where("id = ?", content.id). - Clauses(clause.Locking{Strength: "UPDATE"}). Updates(columnUpdates). Clauses(clause.Returning{}). Select("upvote, downvote"). diff --git a/migrations/000051_posts_numerical_comments.down.sql b/migrations/000051_posts_numerical_comments.down.sql index b3ed8334..154d1491 100644 --- a/migrations/000051_posts_numerical_comments.down.sql +++ b/migrations/000051_posts_numerical_comments.down.sql @@ -1,5 +1,8 @@ BEGIN; ALTER TABLE posts DROP COLUMN comment_numerics; +-- Remove Postive constraint on up_vote and down_vote +ALTER TABLE posts DROP CONSTRAINT upvotes_positive; +ALTER TABLE posts DROP CONSTRAINT downvotes_positive; END; \ No newline at end of file diff --git a/migrations/000051_posts_numerical_comments.up.sql b/migrations/000051_posts_numerical_comments.up.sql index 43585311..e1d6183b 100644 --- a/migrations/000051_posts_numerical_comments.up.sql +++ b/migrations/000051_posts_numerical_comments.up.sql @@ -1,6 +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; From 30174e12ea84c0052d98540de141f2354fa8c8b4 Mon Sep 17 00:00:00 2001 From: Chris <81205126+TalentedB@users.noreply.github.com> Date: Fri, 11 Aug 2023 21:16:55 -0700 Subject: [PATCH 4/8] chore: merging with main --- db/models.go | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/db/models.go b/db/models.go index 67923f32..07fafe94 100644 --- a/db/models.go +++ b/db/models.go @@ -153,7 +153,6 @@ type SchoolFollow struct { // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") type Post struct { -<<<<<<< HEAD ID int `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"` @@ -180,33 +179,6 @@ type Post struct { 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"` -======= - 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"` ->>>>>>> 44d2ad40aba3a2c1f720d4f8cb5371c1c68c4370 } // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") From b4ed6bc25bfdfe9d208cb34ff2f94d4e3331c8cf Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 11 Aug 2023 21:41:27 -0700 Subject: [PATCH 5/8] fix: fixes errors --- migrations/000051_posts_numerical_comments.down.sql | 8 -------- ...tamps.down.sql => 000051_school_time_stamps.down.sql} | 0 ...me_stamps.up.sql => 000051_school_time_stamps.up.sql} | 0 migrations/000053_posts_numerical_comments.down.sql | 9 +++++++++ ...nts.up.sql => 000053_posts_numerical_comments.up.sql} | 0 5 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 migrations/000051_posts_numerical_comments.down.sql rename migrations/{000052_school_time_stamps.down.sql => 000051_school_time_stamps.down.sql} (100%) rename migrations/{000052_school_time_stamps.up.sql => 000051_school_time_stamps.up.sql} (100%) create mode 100644 migrations/000053_posts_numerical_comments.down.sql rename migrations/{000051_posts_numerical_comments.up.sql => 000053_posts_numerical_comments.up.sql} (100%) diff --git a/migrations/000051_posts_numerical_comments.down.sql b/migrations/000051_posts_numerical_comments.down.sql deleted file mode 100644 index 154d1491..00000000 --- a/migrations/000051_posts_numerical_comments.down.sql +++ /dev/null @@ -1,8 +0,0 @@ -BEGIN; - -ALTER TABLE posts DROP COLUMN comment_numerics; --- Remove Postive constraint on up_vote and down_vote -ALTER TABLE posts DROP CONSTRAINT upvotes_positive; -ALTER TABLE posts DROP CONSTRAINT downvotes_positive; - -END; \ No newline at end of file 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/000053_posts_numerical_comments.down.sql b/migrations/000053_posts_numerical_comments.down.sql new file mode 100644 index 00000000..44c0357f --- /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/000051_posts_numerical_comments.up.sql b/migrations/000053_posts_numerical_comments.up.sql similarity index 100% rename from migrations/000051_posts_numerical_comments.up.sql rename to migrations/000053_posts_numerical_comments.up.sql From b7584157331a253bbc8cfbe77b7ce010d9e3fd8a Mon Sep 17 00:00:00 2001 From: Chris <81205126+TalentedB@users.noreply.github.com> Date: Sat, 12 Aug 2023 01:15:34 -0700 Subject: [PATCH 6/8] fix: models fixed --- db/models.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/db/models.go b/db/models.go index 07fafe94..6421c2f7 100644 --- a/db/models.go +++ b/db/models.go @@ -153,15 +153,15 @@ type SchoolFollow struct { // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") type Post struct { - ID int `gorm:"primary_key;column:id" json:"id"` + 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 uint `gorm:"column:school_id" json:"-"` + SchoolID EncryptedID `gorm:"column:school_id" json:"-"` School School `gorm:"foreignKey:SchoolID" json:"school"` - FacultyID *uint `gorm:"column:faculty_id" json:"-"` + FacultyID *EncryptedID `gorm:"column:faculty_id" json:"-"` Faculty Faculty `gorm:"foreignKey:FacultyID" json:"faculty"` - YearOfStudyID *uint `gorm:"column:year_of_study_id" json:"-"` + 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"` @@ -175,7 +175,7 @@ type Post struct { ReportCount uint `gorm:"column:report_count" json:"-"` ReviewedByMod bool `gorm:"column:reviewed_by_mod" json:"-"` Edited bool `gorm:"column:edited" json:"edited"` - CategoryID uint `gorm:"column:category_id" json:"-"` + 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"` From 385cb214ef7ca3da3612086c0d6e72268b66a4d1 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 6 Sep 2023 12:09:10 -0700 Subject: [PATCH 7/8] chore: updates models --- db/models.go | 52 +++++++++++++++++++++--------------------- features/votes/vote.go | 4 +++- 2 files changed, 29 insertions(+), 27 deletions(-) diff --git a/db/models.go b/db/models.go index 21ca95c0..b5975e8c 100644 --- a/db/models.go +++ b/db/models.go @@ -197,33 +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"` + 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"` + 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/votes/vote.go b/features/votes/vote.go index 79478980..8a44c994 100644 --- a/features/votes/vote.go +++ b/features/votes/vote.go @@ -64,7 +64,9 @@ 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 { From 204b1c52f779965c43a731578341c1df9261e85c Mon Sep 17 00:00:00 2001 From: Chris <81205126+TalentedB@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:34:22 -0700 Subject: [PATCH 8/8] feat: fixes race condition --- features/admin/requests.http | 32 +++++++++---------- features/auth/requests.http | 6 ++-- features/comments/requests.http | 16 +++++----- features/drafts/requests.http | 8 ++--- features/feedback/requests.http | 2 +- features/hide_log/requests.http | 4 +-- features/notifications/requests.http | 8 ++--- features/posts/requests.http | 18 +++++------ features/reports/requests.http | 6 ++-- features/saves/requests.http | 8 ++--- features/schools/requests.http | 20 ++++++------ features/user/requests.http | 16 +++++----- features/votes/requests.http | 4 +-- features/votes/vote.go | 3 +- ...n.sql => 000058_school_timezones.down.sql} | 0 ....up.sql => 000058_school_timezones.up.sql} | 0 16 files changed, 76 insertions(+), 75 deletions(-) rename migrations/{000053_school_timezones.down.sql => 000058_school_timezones.down.sql} (100%) rename migrations/{000053_school_timezones.up.sql => 000058_school_timezones.up.sql} (100%) diff --git a/features/admin/requests.http b/features/admin/requests.http index cbb9b1ec..7470ec72 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5Nz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kZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "standing": "banned", @@ -13,7 +13,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyO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ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "user_id": "sP1D8MZAQpZspd1O7tufLPBFq9v1" @@ -24,7 +24,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz POST http://127.0.0.1:8080/api/v1/admin/daily-hottest-cron?day=2023-08-03 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25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yMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-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/admin/expire-fcm-tokens?day=2023-06-21 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYi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WUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -43,7 +43,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/crons?next=1687422462194 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1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X3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": 1689156632542916, @@ -54,7 +54,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/feedback/SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25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ci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -62,7 +62,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/admin/feedback Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZX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ZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": 1690284521701105 @@ -72,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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2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ZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLm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LXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "type": "all", @@ -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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2x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XNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "content_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9r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dWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2Vj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XYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBz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cnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6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ZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiO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xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6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ZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "user_ids": ["kco5wCBnv7SOAaBFnHBHr7C3lsr1", "sP1D8MZAQpZspd1O7tufLPBFq9v1"], diff --git a/features/auth/requests.http b/features/auth/requests.http index db8ccaa4..d06d224d 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: kXfeSRgYTnoUztu6MO8FndqiRayoBaJqyDKQmoqv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z 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-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjE5MGFkMTE4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Mz 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-_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 { "email": "matthew@gmail.com" diff --git a/features/comments/requests.http b/features/comments/requests.http index cdd1b792..88388433 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU83CDM1D4zVmskGnWDvnoixndRqQ +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI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1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PATCH http://127.0.0.1:8080/api/v1/comments/hide 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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hbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/comments/roots 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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-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PVCJuET8kcIS41zK3iwTQS9m_4qmXmuEQWDJJ6U7dADrlRMaBptoA52s-xiLx_ie2sU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rV4XQJOJkXA8HWOvYUev-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQmMfpi_viIm1hQrYDH6PV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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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaU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pFOmyV6q-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUqQ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OmyV6q-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2D4SW_r8prwczy88HemtwkT-PDwaUq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FOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "comment_id": "SOME MASKED ID", diff --git a/features/drafts/requests.http b/features/drafts/requests.http index e3f5b8f2..00dfb1b5 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJAyeuRwj_7sP4Yp1L1q2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rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSngm-QNchJA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bjc0jwb_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-DxZCxKpC6xVXB9jSng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EWpQq6zbjc0jwb_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXEf2GKW9djzc-Q4TmheN-Dx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jLvU-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 d0acff80..8f05104e 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA0BZ34jn8ihy0YES1YEznhWqG7Accw7obEodMLv4p3PhMcrTp8Tv1DmafJoQTHNgoPXE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3OaG63Izp_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 512e3e30..387bf93e 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkEWQalLWFic4pWYA6cwy-81-_2cA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Yh0vsXMPYqZcdwyj4-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJnr7MjkCkE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KGqA0tMp2jxyBetP_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 7918b3de..3cbbb0da 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.qdkdAnL_MdzW-NivJaNqC26gcAhCRTY5VEJ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Bx_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 eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY5MzI5Mzk3MiwiZXhwIjoxNjkzMjk3NTcyLCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydW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iaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "token": "pd12dqUMvIr2LwUunrtBhcWE0dQ:APA91bHA7wxFCx7xNNAJyR07XGw3cuzXcmU3MvjX4IC4-_KLLK0G5I8ZPXvR_i8lVk2h14REe8DzM7C64o-CSbBawLXTTjsdaJCL0NvuXTaJn95QZUujt7yuyhkGr5gashoV9DwiErLJ" @@ -31,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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6MTY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6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -39,7 +39,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz PUT http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSIsImlhdCI6M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CI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.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 3c873f30..8620bb47 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN0MzbHNyMSI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LCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "title": "MY TEST DUDE", @@ -14,7 +14,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/hottest Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNXdDQm52N1NPQWFCRm5IQkhyN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jk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -22,7 +22,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/post?id=PQlYctX5i_MRhqM0ML3Q1ME= Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2NvNX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Y5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} @@ -30,7 +30,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMz GET http://127.0.0.1:8080/api/v1/posts/posts?profanity=false Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3U09BYUJGbkhCSHI3QzNsc3IxIiwic3ViIjoia2Nv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MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "sort": "new", @@ -44,7 +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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZXJfaWQiOiJrY281d0NCbnY3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FRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5Nz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kZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIs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xOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzI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ZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOj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FPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "post_id": "a4dnDZsvpKXQItFYHAhVfDYrUA==", diff --git a/features/reports/requests.http b/features/reports/requests.http index c04aa285..a36c9bfa 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNp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InVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1k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3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNp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YiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA {} diff --git a/features/saves/requests.http b/features/saves/requests.http index 1ff62524..96efd1b4 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXN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XYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZ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WQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc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1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2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kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-Dgwu1_gNA { "next": null diff --git a/features/schools/requests.http b/features/schools/requests.http index c9ab8846..471b3fa4 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWU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vbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1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X3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMyOTM5NzIsInVzZ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xIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2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N3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMy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ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-i5ol2dG-Kho_tAPOHnHREHv83nBp4cVgdvtuN1Kh7cItacOSigW6Cu5z-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1k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OiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLC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iOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_WXwtY6ZSD2rRnrRno5sUrzCnUFnquTIuT57qvpFOmyV6q-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZX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pbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-N8-qyZK9o6EWpQq6zbjc0jwb_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW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QiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_40XvhdkiyurMCjLvU-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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Im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NpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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 564a83e8..ab2944c6 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzc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b25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6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ZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Im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NpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0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LXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsIml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9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsIml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9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-Gw9mKjkh6PWlIbCBbbc8o3OaG63Izp_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.eyJyb2xlcyI6W10sInN5bmMiOnRyd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mNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_aVwjN82KGqA0tMp2jxyBetP_B67OlmSZYh0vsXMPYqZcdwyj4-E40wxj-3y23N1nOH2VtpnMD-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 eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmY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IsIm1vZF8zMiIsInNfbW9kIl0sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_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 00032b58..76513a7c 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 eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFm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SIsIm1vZF8zMiIsInNfbW9kIl0sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTQxMzgyMzIsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5NDEzODIzMiwiZXhwIjoxNjk0MTQxODMyLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.NPpTI0TKKrfk0N94tE9kb6yzMruLOEexsz0-pVoh6PWYIi6a9n1UizmxtXR2QQ8PbXB8cNY95gMGesGBx_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 79478980..d05f1678 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/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