diff --git a/config/constants.go b/config/constants.go index 9833d139..29f56e5c 100644 --- a/config/constants.go +++ b/config/constants.go @@ -37,17 +37,27 @@ const ( DefaultRange = 50000 // default distance to include schools in, in meters HottestPostNotificationsLowerBound = "00:00" // the lower bound of the hottest post notifications cron job - 24h time HottestPostNotificationsUpperBound = "23:59" // the upper bound of the hottest post notifications cron job - 24h time + TitleMaxLength = 100 // max length of a post title + BodyMaxLength = 1000 // max length of a post content/body ) // ----- DEPLOYMENT CONSTANTS const ( - iOSBundleId = "com.confesi.app" // iOS bundle id // TODO: change this - AndroidPackageName = "com.confesi.app" // Android package name // TODO: change this - FirebaseProjectID = "confesi-server-dev" // Firebase project id // TODO: change this + iOSBundleId = "com.confesi.app" + AndroidPackageName = "com.confesi.app" + FirebaseProjectID = "confesi-server-dev" // Firebase project id Development = true // development mode ) +// ---- AWS CONSTANTS + +const ( + AwsUserUploadsBucket string = "confesi-uploads" + AwsRekognitionConfidenceThreshold float64 = 80 + AwsUserUploadsBucketBaseUrl string = "https://confesi-uploads.s3.us-east-2.amazonaws.com/" +) + // ----- ALT CONSTANTS // -> pther constants are defined directly in the request struct validation tags, here: ~/lib/validation/models.go diff --git a/db/models.go b/db/models.go index 56f7e212..98a64254 100644 --- a/db/models.go +++ b/db/models.go @@ -5,6 +5,7 @@ import ( "database/sql/driver" "encoding/json" "fmt" + "strings" "time" @@ -13,6 +14,48 @@ import ( "gorm.io/datatypes" ) +type PgTxtArr []string + +func (a *PgTxtArr) Scan(src interface{}) error { + var str string + switch v := src.(type) { + case []byte: + str = string(v) + case string: + str = v + default: + return fmt.Errorf("unable to scan PgTxtArr: unexpected type: %T", src) + } + + // Trimming the surrounding curly braces of PostgreSQL arrays + str = strings.Trim(str, "{}") + + // If the trimmed string is empty, it means the array was empty. + if str == "" { + *a = []string{} + return nil + } + + // Splitting by comma, but be careful about commas inside the URLs + pieces := strings.Split(str, ",") + + // Check and handle quoted strings + var cleanPieces []string + for _, piece := range pieces { + if strings.HasPrefix(piece, `"`) && strings.HasSuffix(piece, `"`) { + piece = strings.Trim(piece, `"`) + } + cleanPieces = append(cleanPieces, piece) + } + + *a = cleanPieces + return nil +} + +func (a PgTxtArr) Value() (driver.Value, error) { + return "{" + strings.Join(a, ",") + "}", nil +} + type EncryptedID struct { Val uint } @@ -179,6 +222,7 @@ type Post struct { CategoryID EncryptedID `gorm:"column:category_id" json:"-"` Category PostCategory `gorm:"foreignKey:CategoryID" json:"category"` CommentCount uint `gorm:"column:comment_count" json:"comment_count"` + ImgUrls PgTxtArr `gorm:"column:img_urls" json:"img_urls"` } // ! Very important that SOME FIELDS ARE NOT EVER SERIALIZED TO PROTECT SENSATIVE DATA (json:"-") diff --git a/features/admin/requests.http b/features/admin/requests.http index 5ea8ec73..69cd523a 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhld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aDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "standing": "banned", @@ -13,7 +13,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlk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5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "user_id": "sP1D8MZAQpZspd1O7tufLPBFq9v1" @@ -24,14 +24,14 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG POST http://127.0.0.1:8080/api/v1/admin/daily-hottest-cron?day=2023-08-03 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOi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XdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Manually trigger clear expired fcm tokens cron job # day format: YYYY-MM-DD for selecting when to run the cron job. POST http://127.0.0.1:8080/api/v1/admin/expire-fcm-tokens?day=2023-06-21 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJ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RX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### List the successfully ran cron jobs, by type @@ -40,7 +40,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/crons?next=1687422462194 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9ig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hbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "next": 1689156632542916, @@ -51,13 +51,13 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/feedback/SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZ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H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Get Feedback List GET http://127.0.0.1:8080/api/v1/admin/feedback Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAa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@ -67,14 +67,14 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/report?id=SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### get all reports GET http://127.0.0.1:8080/api/v1/admin/reports Content-Type: application/json -Authorization: Bear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LCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "type": "all", @@ -85,7 +85,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/admin/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxN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sImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "content_type": "post", @@ -99,7 +99,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/admin/reviewed-by-mod Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ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Z2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "content_type": "post", @@ -111,7 +111,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/comments-by-report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydW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iJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "purge_cache": true, @@ -124,7 +124,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/posts-by-report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2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E2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "purge_cache": true, @@ -137,7 +137,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/reports-for-post Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJ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05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "post_id": "SOME MASK", @@ -149,7 +149,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/reports-for-comment Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWU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ktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "comment_id": "SOME MASK", diff --git a/features/auth/requests.http b/features/auth/requests.http index 0a164af9..918c2a99 100644 --- a/features/auth/requests.http +++ b/features/auth/requests.http @@ -15,7 +15,7 @@ Content-Type: application/json PATCH http://127.0.0.1:8080/api/v1/auth/update-email Content-Type: application/json X-AppCheck-Token: kXfeSRgYTnoUztu6MO8FndqiRayoBaJqyDKQmoqvX3V9sZVlep/cm7cP!mgd-B9H -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJ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ERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "email": "use0129384r@uvic.ca" @@ -25,13 +25,13 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG POST http://127.0.0.1:8080/api/v1/auth/resend-verification-email Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJ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ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Send password reset email POST http://127.0.0.1:8080/api/v1/auth/send-password-reset-email Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIs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uY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "email": "matthew@gmail.com" diff --git a/features/comments/requests.http b/features/comments/requests.http index 1858362e..90ed12f6 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk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mViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "post_id": "4rL_CDKr3PRx9kWLRP5hXFxu", @@ -15,7 +15,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/comments/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hd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MiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "comment_id": "SOME MASK" @@ -25,7 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/comments/roots Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVy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C5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "post_id": "4rL_CDKr3PRx9kWLRP5hXFxu", @@ -38,7 +38,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/comments/replies Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNl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mlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "parent_root": "-jKw8VFRrXite7H2qsQapj9rcQ==", @@ -49,19 +49,19 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/comments/purge?session-key=6ba7b810-9dad-11d1-80b4-00c04fd430c8 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydW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Z25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Fetch a comment by id GET http://127.0.0.1:8080/api/v1/comments/comment?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29y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wOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Fetch your comments GET http://127.0.0.1:8080/api/v1/comments/your-comments Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sj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TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "next": 168899127721647912 @@ -71,7 +71,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/comments/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1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nrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "comment_id": "SOME MASKED ID", diff --git a/features/drafts/requests.http b/features/drafts/requests.http index 5b13bae4..e466cc90 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmm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B0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "title": "next blah this is a title 5", @@ -13,7 +13,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/drafts/your-drafts?profanity=false Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0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SpuvBcvQgh1szbbA { "next": 123123123123 @@ -25,7 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/drafts/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0Fv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7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/drafts/delete Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "draft_id": "SOME MASKED ID" diff --git a/features/feedback/requests.http b/features/feedback/requests.http index 124fbbd0..c5379938 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "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 9289bb20..6ade5f6e 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXj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xNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/hide-log/hide-log?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA diff --git a/features/notifications/requests.http b/features/notifications/requests.http index 3081e905..cc3253a8 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNl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J" @@ -12,7 +12,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG POST http://127.0.0.1:8080/api/v1/notifications/token-uid Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBh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R07XGw3cuzXcmU3MvjX4IC4-_KLLK0G5I8ZPXvR_i8lVk2h14REe8DzM7C64o-CSbBawLXTTjsdaJCL0NvuXTaJn95QZUujt7yuyhkGr5gashoV9DwiErLJ" @@ -31,13 +31,13 @@ Content-Type: application/json GET http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg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szbbA ### Set topic prefs PUT http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "daily_hottest": true, diff --git a/features/posts/create.go b/features/posts/create.go index edb237f8..c5bdaa58 100644 --- a/features/posts/create.go +++ b/features/posts/create.go @@ -1,25 +1,116 @@ package posts import ( + "confesi/config" "confesi/db" "confesi/lib/emojis" "confesi/lib/response" + "confesi/lib/uploads" "confesi/lib/utils" - "confesi/lib/validation" "errors" + "fmt" "net/http" + "strings" - "firebase.google.com/go/auth" "github.com/gin-gonic/gin" "gorm.io/gorm" ) var ( - errorInvalidCategory = errors.New("invalid category") + invalidCategory = errors.New("invalid category") ) -func (h *handler) createPost(c *gin.Context, title string, body string, token *auth.Token, category string) (error, *db.Post) { +func (h *handler) handleCreate(c *gin.Context) { + + token, err := utils.UserTokenFromContext(c) + if err != nil { + response.New(http.StatusInternalServerError).Err("server error").Send(c) + return + } + + form, err := c.MultipartForm() + if err != nil { + response.New(http.StatusBadRequest).Err("ill-formatted form").Send(c) + return + } + + files := form.File["files"] // Adjusting this to "files" for multiple uploads + titles := form.Value["title"] + bodies := form.Value["body"] + categories := form.Value["category"] + + fmt.Println("files: ", files) + + var title, body, category string + if len(titles) > 0 { + title = titles[0] + } + if len(bodies) > 0 { + body = bodies[0] + } + if len(categories) > 0 { + category = categories[0] + } + + // strip whitespace from title & body + title = strings.TrimSpace(title) + body = strings.TrimSpace(body) + + // input validation & sanitization + if len(title) == 0 && len(body) == 0 { + response.New(http.StatusBadRequest).Err("title and body cannot be empty").Send(c) + return + } + if len(category) == 0 || len(category) > 100 { // arbitrary max length to ensure no INSANE value is inputted + response.New(http.StatusBadRequest).Err("invalid category").Send(c) + return + } + + if len(files) > 5 { + response.New(http.StatusBadRequest).Err("cannot upload more than 5 images").Send(c) + return + } + if len(title) == 0 && len(body) == 0 { + response.New(http.StatusBadRequest).Err("title and body cannot be empty").Send(c) + return + } + if len(title) > config.TitleMaxLength { + response.New(http.StatusBadRequest).Err("title too long").Send(c) + return + } + if len(body) > config.BodyMaxLength { + response.New(http.StatusBadRequest).Err("body too long").Send(c) + return + } + + imgUrls := []string{} + + // Check if the request's content type is multipart/form-data before trying to read the image + if strings.Contains(c.Request.Header.Get("Content-Type"), "multipart/form-data") { + for _, fileHeader := range files { + file, err := fileHeader.Open() + + // If an error other than http.ErrMissingFile occurs, send an error response + if err != nil { + response.New(http.StatusBadRequest).Err("Error reading file").Send(c) + return + } + + // Attempt to upload + fileURL, err := uploads.Upload(file, fileHeader.Filename) + if err != nil { + response.New(http.StatusBadRequest).Err(err.Error()).Send(c) + return + } + + imgUrls = append(imgUrls, fileURL) + + // Remember to close the file after processing + file.Close() + } + } + // start a transaction tx := h.db.Begin() // if something goes ary, rollback @@ -33,13 +124,15 @@ func (h *handler) createPost(c *gin.Context, title string, body string, token *a // check if category is valid var postCategory db.PostCategory - err := tx.Select("id").Where("name ILIKE ?", category).First(&postCategory).Error + err = tx.Select("id").Where("name ILIKE ?", category).First(&postCategory).Error if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) { tx.Rollback() - return serverError, nil + response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) + return } else if errors.Is(err, gorm.ErrRecordNotFound) { tx.Rollback() - return errorInvalidCategory, nil + response.New(http.StatusBadRequest).Err(invalidCategory.Error()).Send(c) + return } // fetch the user's facultyId, and schoolId @@ -47,10 +140,13 @@ func (h *handler) createPost(c *gin.Context, title string, body string, token *a err = tx.Select("faculty_id, school_id, year_of_study_id").Where("id = ?", token.UID).First(&userData).Error if err != nil { tx.Rollback() - return serverError, nil + response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) + return } - // post to save to postgres + // Convert your []string to PgTxtArr + imgURLsArray := db.PgTxtArr(imgUrls) + post := db.Post{ UserID: token.UID, SchoolID: userData.SchoolID, @@ -64,9 +160,12 @@ func (h *handler) createPost(c *gin.Context, title string, body string, token *a Upvote: 0, TrendingScore: 0, Hidden: false, + ImgUrls: imgURLsArray, // `HottestOn` not included so that it defaults to NULL } + fmt.Println("post: ", post) + // sentiment analysis of post sentiment := AnalyzeText(title + "\n" + body) sentimentValue := sentiment.Compound @@ -79,43 +178,18 @@ func (h *handler) createPost(c *gin.Context, title string, body string, token *a err = tx.Create(&post).Preload("School").Preload("YearOfStudy").Preload("Category").Preload("Faculty").Find(&post).Error if err != nil { tx.Rollback() - return errors.New(serverError.Error()), nil + response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) + return } // commit the transaction err = tx.Commit().Error if err != nil { tx.Rollback() - return serverError, nil - } - return nil, &post -} - -func (h *handler) handleCreate(c *gin.Context) { - - // extract request - var req validation.CreatePostDetails - err := utils.New(c).ForceCustomTag("required_without", validation.RequiredWithout).Validate(&req) - if err != nil { - return - } - - // strip whitespace from title and body (custom validator already confirmed this is still not empty) - title := strings.TrimSpace(req.Title) - body := strings.TrimSpace(req.Body) - - token, err := utils.UserTokenFromContext(c) - if err != nil { - response.New(http.StatusInternalServerError).Err("server error").Send(c) - return - } - - err, post := h.createPost(c, title, body, token, req.Category) - if err != nil { - response.New(http.StatusBadRequest).Err(err.Error()).Send(c) + response.New(http.StatusInternalServerError).Err(serverError.Error()).Send(c) return } // if all goes well, send 201 - response.New(http.StatusCreated).Val(PostDetail{Post: *post, UserVote: 0, Owner: true, Emojis: emojis.GetEmojis(post)}).Send(c) + response.New(http.StatusCreated).Val(PostDetail{Post: post, UserVote: 0, Owner: true, Emojis: emojis.GetEmojis(&post)}).Send(c) } diff --git a/features/posts/requests.http b/features/posts/requests.http index 4ab64aa2..1c005e0d 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbX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NjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "title": "MY TEST DUDE", @@ -14,19 +14,19 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/posts/hottest?day=2023-08-04 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZD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oZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Fetch a post by id GET http://127.0.0.1:8080/api/v1/posts/post?id=TqGRLQZ-BRO5ieESwaRA7Hf0 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ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F0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Fetch posts GET http://127.0.0.1:8080/api/v1/posts/posts?profanity=false Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25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cAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "sort": "new", @@ -40,19 +40,19 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/posts/purge?session-key=6ba7b810-9dad-11d1-80b4-00c04fd430c8 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZX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jiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Sentiment anaylsis for posts by ID GET http://127.0.0.1:8080/api/v1/posts/sentiment?id=TqGRLQZ-BRO5ieESwaRA7Hf0 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4bt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Qphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Fetch your posts GET http://127.0.0.1:8080/api/v1/posts/your-posts Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzG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h4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "next": 1688460277629001 @@ -62,7 +62,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/posts/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOV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{ "post_id": "SOME MASKED ID" @@ -72,7 +72,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/posts/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh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a/features/reports/requests.http b/features/reports/requests.http index 1f543557..3fa5b405 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "content_id": "SOME MASKED ID", @@ -15,7 +15,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/reports/reports Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bear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:8080/api/v1/reports/report?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA diff --git a/features/saves/requests.http b/features/saves/requests.http index b45d8bf8..1ef66670 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 eyJhbGci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iOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "content_id": "SOME MASKED ID", @@ -13,7 +13,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/saves/unsave Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1Zj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ydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "content_id": "SOME MASKED ID", @@ -24,7 +24,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/saves/postsain Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUi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29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "next": null @@ -34,7 +34,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/saves/comments Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlz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mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "next": null diff --git a/features/schools/requests.http b/features/schools/requests.http index c19b2ba1..b7852fba 100644 --- a/features/schools/requests.http +++ b/features/schools/requests.http @@ -2,29 +2,29 @@ GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10&school=uvicasdsad Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW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3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10&radius=5000 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJy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dCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJl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ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Get a school by query 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwi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UPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Watch a school POST http://127.0.0.1:8080/api/v1/schools/watch Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34D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QnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "school_id": "SfQLOaiYKxo4OOVeYb5paos=" @@ -34,7 +34,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/schools/unwatch Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_o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linUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "school_id": "SOME MASKED ID" @@ -44,7 +44,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/schools/watched?lat=48.465900&long=-123.328652 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY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sqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "include_home_school": true @@ -54,7 +54,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/schools/rank? Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi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RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "purge_cache": true, @@ -67,11 +67,11 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/schools/purge?session-key=6ba7b810-9dad-11d1-80b4-00c04fd430c8 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fD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1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Get a random school GET http://127.0.0.1:8080/api/v1/schools/random?without-school=oXzuIl6Z-VACSogbQkOLVuo= Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA diff --git a/features/user/requests.http b/features/user/requests.http index f25d9497..89e2cd61 100644 --- a/features/user/requests.http +++ b/features/user/requests.http @@ -2,25 +2,25 @@ GET http://127.0.0.1:8080/api/v1/user/user Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.Tw0Yhgpk1EZWvU-XEKg7j6eBjN60GGwYUWh7738j4lK39FrOEug34DT3EsJziiI2jalRa5j4btU0Y_oih-ZUlNYUdy9igNRqSBv5kiY_dbJtLKcr5tC9nNnLjE5sjddPKZQCm3BiIcVzlmcey-Q7awdi0_zCK7c7h-fDMH5hY1o8AJALpsp1wZeQ-LCFntkXytMWWrMmmbIzGT00uFYUZr41Ur3aPTpbCbnR8ZdP0F-PpdHI1Bg3QOVRiRswnXJdwIfAaqxVnJjBoWc-Em0FvbYbSazygnBh8LL_2BhNnNXBhGlPArj-ck_dWhavFrjla2UaXrowPKGqhWXjcZzaMg +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### get user standing GET http://127.0.0.1:8080/api/v1/user/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjY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I6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Clear user faculty DELETE http://127.0.0.1:8080/api/v1/user/faculty Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2Vjd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CJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Set user faculty PATCH http://127.0.0.1:8080/api/v1/user/faculty Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOi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lhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "faculty": "ENG" @@ -30,14 +30,14 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/user/year-of-study Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3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LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA ### Set user year of study PATCH http://127.0.0.1:8080/api/v1/user/year-of-study Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY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5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "year_of_study": "One" @@ -47,7 +47,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/user/school Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7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XIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "school_id": "SOME MASKED ID" @@ -59,4 +59,4 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfd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FpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA diff --git a/features/votes/requests.http b/features/votes/requests.http index fa044540..5c7addec 100644 --- a/features/votes/requests.http +++ b/features/votes/requests.http @@ -2,7 +2,7 @@ PUT http://127.0.0.1:8080/api/v1/votes/vote Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTIzOTQ5NDksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjM5NDk0OSwiZXhwIjoxNjkyMzk4NTQ5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW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.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA { "content_id": "GS2yILFqbxjpslxsSwLXabzzCw==", diff --git a/go.mod b/go.mod index a801973c..c2f6f55d 100644 --- a/go.mod +++ b/go.mod @@ -37,6 +37,7 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/googleapis/gax-go/v2 v2.8.0 // indirect github.com/ip2location/ip2location-go/v9 v9.6.0 // indirect + github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect @@ -79,6 +80,7 @@ require ( github.com/google/s2a-go v0.1.4 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect github.com/grassmudhorses/vader-go v0.0.0-20191126145716-003d5aacdb71 + github.com/jackc/pgtype v1.14.0 github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/json-iterator/go v1.1.12 // indirect diff --git a/go.sum b/go.sum index 9e7e482c..a5d910b8 100644 --- a/go.sum +++ b/go.sum @@ -23,6 +23,7 @@ firebase.google.com/go/v4 v4.12.0/go.mod h1:60c36dWLK4+j05Vw5XMllek3b3PCynU3BfI4 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE= +github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/MicahParks/keyfunc v1.9.0 h1:lhKd5xrFHLNOWrDc4Tyb/Q1AJ4LCzQ48GVJyVIID3+o= github.com/MicahParks/keyfunc v1.9.0/go.mod h1:IdnCilugA0O/99dW+/MkvlyrsX8+L8+x95xuVNtM5jw= github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI= @@ -55,10 +56,14 @@ github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XP github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -83,6 +88,8 @@ github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= github.com/go-co-op/gocron v1.27.1 h1:fYmK6COvF3rdFBbB4yQGWaf6TKIMjPv+1oaFrVx9bl8= github.com/go-co-op/gocron v1.27.1/go.mod h1:39f6KNSGVOU1LO/ZOoZfcSxwlsJDQOKSu8erN0SH48Y= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= @@ -117,10 +124,12 @@ github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/goccy/go-json v0.10.0 h1:mXKd9Qw4NuzShiRlOXKews24ufknHO7gx30lsDyokKA= github.com/goccy/go-json v0.10.0/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= @@ -159,6 +168,7 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -173,12 +183,47 @@ github.com/grassmudhorses/vader-go v0.0.0-20191126145716-003d5aacdb71/go.mod h1: github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/ip2location/ip2location-go/v9 v9.6.0 h1:do+hKM2wbVG3lXMavZzWuy0znXxJBvGc7mv0wzRVoYc= github.com/ip2location/ip2location-go/v9 v9.6.0/go.mod h1:MPLnsKxwQlvd2lBNcQCsLoyzJLDBFizuO67wXXdzoyI= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= +github.com/jackc/pgtype v1.14.0 h1:y+xUdabmyMkJLyApYuPj38mW+aAIqCe5uuBB51rH3Vw= +github.com/jackc/pgtype v1.14.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= github.com/jackc/pgx/v5 v5.3.1 h1:Fcr8QJ1ZeLi5zsPZqQeUZhNhxfkkKBOgJuYkJHoBOtU= github.com/jackc/pgx/v5 v5.3.1/go.mod h1:t3JDKnCBlYIc0ewLF0Q7B8MXmoIaBOZj/ic7iHozM/8= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle/v2 v2.2.0/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= @@ -192,15 +237,19 @@ github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8Hm github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk= github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -208,6 +257,10 @@ github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -216,6 +269,11 @@ github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= @@ -237,6 +295,7 @@ github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -245,19 +304,32 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg= github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= @@ -286,17 +358,36 @@ github.com/urfave/cli/v2 v2.25.7/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6S github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VAiXCnxFY6NyDX0bHDmkU= golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.8.0 h1:pd9TJtTueMTVQXzk8E2XESSMQDj/U7OUu0PqJqPXQjQ= @@ -309,6 +400,9 @@ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -318,6 +412,7 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -346,8 +441,16 @@ golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -365,6 +468,7 @@ golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -372,6 +476,7 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= @@ -389,14 +494,23 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= golang.org/x/tools v0.10.0 h1:tvDr/iQoUqNdohiYm0LmmKcBk+q86lb9EprIUFhHHGg= golang.org/x/tools v0.10.0/go.mod h1:UJwyiVBsOA2uwvK/e5OY3GTpDUJriEd+/YlqAwLPmyM= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= @@ -444,6 +558,7 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/guregu/null.v4 v4.0.0 h1:1Wm3S1WEA2I26Kq+6vcW+w0gcDo44YKYD7YIEJNHDjg= gopkg.in/guregu/null.v4 v4.0.0/go.mod h1:YoQhUrADuG3i9WqesrCmpNRwm1ypAgSHYqoOcTu/JrI= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -467,6 +582,7 @@ gorm.io/gorm v1.25.1 h1:nsSALe5Pr+cM3V1qwwQ7rOkw+6UeLrX5O4v3llhHa64= gorm.io/gorm v1.25.1/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= lukechampine.com/uint128 v1.2.0 h1:mBi/5l91vocEN8otkC5bDLhi2KdCticRiwbdB0O+rjI= lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/lib/cronJobs/cronNotifications/hottest_post_notifications.go b/lib/cronJobs/cronNotifications/hottest_post_notifications.go index 84c41128..fe6754bd 100644 --- a/lib/cronJobs/cronNotifications/hottest_post_notifications.go +++ b/lib/cronJobs/cronNotifications/hottest_post_notifications.go @@ -19,7 +19,7 @@ import ( // Cron job that runs every two hours to send notifications to users about the hottest posts. func StartDailyHottestPostsCronJob() { - DoHottestPostNotifications(time.Now().UTC()) // todo: remove this! + // DoHottestPostNotifications(time.Now().UTC()) // todo: remove this! upperBound, err := time.Parse("15:04", config.HottestPostNotificationsUpperBound) if err != nil { panic(err) diff --git a/lib/email/sender.go b/lib/email/sender.go index bf0fac09..75986dc4 100644 --- a/lib/email/sender.go +++ b/lib/email/sender.go @@ -15,7 +15,6 @@ import ( "github.com/gin-gonic/gin" ) -// todo: update addresses to be correct const ( sender = "mail@confesi.com" charSet = "UTF-8" diff --git a/lib/uploads/uploader.go b/lib/uploads/uploader.go new file mode 100644 index 00000000..b832eda5 --- /dev/null +++ b/lib/uploads/uploader.go @@ -0,0 +1,83 @@ +package uploads + +import ( + "bytes" + "confesi/config" + "fmt" + "io" + "io/ioutil" + "net/http" + "path/filepath" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/session" + "github.com/aws/aws-sdk-go/service/rekognition" + "github.com/aws/aws-sdk-go/service/s3" + "github.com/google/uuid" +) + +var ( + s3svc *s3.S3 + rekognitionSvc *rekognition.Rekognition +) + +func init() { + newSession, err := session.NewSession() + if err != nil { + panic(fmt.Sprintf("error initializing AWS session: %s", err)) + } + s3svc = s3.New(newSession) + rekognitionSvc = rekognition.New(newSession) +} + +func Upload(file io.Reader, filename string) (string, error) { + uuidName := uuid.New().String() + filepath.Ext(filename) + + fileBytes, err := ioutil.ReadAll(file) + if err != nil { + return "", fmt.Errorf("failed to read file bytes: %v", err) + } + + // detect file type to be either jpg, jpeg or png + // if the file type is not one of these, return an error + fileType := http.DetectContentType(fileBytes) + if fileType != "image/jpeg" && fileType != "image/jpg" && fileType != "image/png" { + return "", fmt.Errorf("invalid file type: %v", fileType) + } + + // check the image using AWS Rekognition BEFORE uploading to S3 + input := &rekognition.DetectModerationLabelsInput{ + Image: &rekognition.Image{ + Bytes: fileBytes, + }, + } + + result, err := rekognitionSvc.DetectModerationLabels(input) + if err != nil { + return "", fmt.Errorf("failed to analyze image: %v", err) + } + + for _, label := range result.ModerationLabels { + if *label.Confidence > config.AwsRekognitionConfidenceThreshold { + if *label.Name == "Explicit Nudity" || *label.Name == "Nudity" || + *label.Name == "Graphic Male Nudity" || *label.Name == "Graphic Female Nudity" || + *label.Name == "Sexual Activity" || *label.Name == "Partial Nudity" || *label.Name == "Suggestive" { + + // if inappropriate content is detected, return an error + return "", fmt.Errorf("inappropriate content detected in image: %v", *label.Name) + } + } + } + + // if the image is appropriate, upload it to our S3 bucket + _, err = s3svc.PutObject(&s3.PutObjectInput{ + Bucket: aws.String(config.AwsUserUploadsBucket), + Key: aws.String(uuidName), + Body: bytes.NewReader(fileBytes), // use the bytes read earlier + }) + if err != nil { + return "", fmt.Errorf("failed to upload to S3: %v", err) + } + + return config.AwsUserUploadsBucketBaseUrl + uuidName, nil +} diff --git a/lib/validation/models.go b/lib/validation/models.go index df75fb61..6a70bc97 100644 --- a/lib/validation/models.go +++ b/lib/validation/models.go @@ -14,15 +14,6 @@ type EmailQuery struct { Email string `json:"email" validate:"required,email,excludes= "` // intentional white space } -type CreatePostDetails struct { - // [required if Body empty/null] at most 100 characters - Title string `json:"title" validate:"max=100,required_without=Body"` - // [required if Title empty/null] at most 2000 characters - Body string `json:"body" validate:"max=2000,required_without=Title"` - // [required] the category of post - Category string `json:"category" validate:"required"` -} - type CreateDraftDetails struct { // [required if Body empty/null] at most 100 characters Title string `json:"title" validate:"max=100,required_without=Body"` diff --git a/migrations/000054_image_uploads.down.sql b/migrations/000054_image_uploads.down.sql new file mode 100644 index 00000000..8f7f9ff4 --- /dev/null +++ b/migrations/000054_image_uploads.down.sql @@ -0,0 +1,6 @@ +BEGIN; + +ALTER TABLE posts + DROP COLUMN img_url; + +END; diff --git a/migrations/000054_image_uploads.up.sql b/migrations/000054_image_uploads.up.sql new file mode 100644 index 00000000..7bfc2a85 --- /dev/null +++ b/migrations/000054_image_uploads.up.sql @@ -0,0 +1,6 @@ +BEGIN; + +ALTER TABLE posts + ADD COLUMN img_url TEXT; + +END; \ No newline at end of file diff --git a/migrations/000055_n_images.down.sql b/migrations/000055_n_images.down.sql new file mode 100644 index 00000000..35ef089e --- /dev/null +++ b/migrations/000055_n_images.down.sql @@ -0,0 +1,6 @@ +BEGIN; + +ALTER TABLE posts RENAME COLUMN img_urls TO img_url; +ALTER TABLE posts ALTER COLUMN img_url TYPE text USING COALESCE(img_url[1], NULL); + +END; diff --git a/migrations/000055_n_images.up.sql b/migrations/000055_n_images.up.sql new file mode 100644 index 00000000..956a65ed --- /dev/null +++ b/migrations/000055_n_images.up.sql @@ -0,0 +1,6 @@ +BEGIN; + +ALTER TABLE posts RENAME COLUMN img_url TO img_urls; +ALTER TABLE posts ALTER COLUMN img_urls TYPE text[] USING CASE WHEN img_urls IS NOT NULL THEN ARRAY[img_urls] ELSE ARRAY[]::text[] END; + +END;