diff --git a/README.md b/README.md index bba738d..ded8001 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,9 @@ docker exec -it confesi-db psql -U postgres confesi # generate a new `confesi.dbml` ./scripts/database dbml +# endpoint speed checker +go run ./scripts/main.go --test-endpoints-speed + # seed data (use the POSTGRES_DSN found in `/scripts/test` not `.env`) export POSTGRES_DSN="" export MASK_SECRET="" # Found in `.env` diff --git a/features/admin/requests.http b/features/admin/requests.http index 69cd523..6ce3b49 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB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seY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0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ESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "user_id": "sP1D8MZAQpZspd1O7tufLPBFq9v1" @@ -24,15 +24,18 @@ 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQ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JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6Tx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jDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w +{} ### List the successfully ran cron jobs, by type # you pass in the current day in milliseconds since unix epoch, and use that as the next cursor @@ -40,7 +43,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/crons?next=1687422462194 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6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63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "next": 1689156632542916, @@ -51,13 +54,15 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/feedback/SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7Lc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+{} ### Get Feedback List GET http://127.0.0.1:8080/api/v1/admin/feedback Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "next": 1690284521701105 @@ -67,14 +72,15 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/report?id=SOMEMASK Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w +{} ### get all reports GET http://127.0.0.1:8080/api/v1/admin/reports Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb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nZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "type": "all", @@ -85,7 +91,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/admin/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2Vjd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dXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "content_type": "post", @@ -99,7 +105,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/admin/reviewed-by-mod Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlc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JyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "content_type": "post", @@ -111,7 +117,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/comments-by-report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYi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joickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "purge_cache": true, @@ -124,7 +130,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/posts-by-report Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQ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I6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "purge_cache": true, @@ -137,7 +143,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/reports-for-post Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic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bWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "post_id": "SOME MASK", @@ -149,7 +155,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/admin/reports-for-comment Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1Rq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29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "comment_id": "SOME MASK", diff --git a/features/auth/requests.http b/features/auth/requests.http index 918c2a9..020dbe7 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3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MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "email": "use0129384r@uvic.ca" @@ -25,13 +25,15 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG POST http://127.0.0.1:8080/api/v1/auth/resend-verification-email Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2N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bnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaW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X0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "email": "matthew@gmail.com" diff --git a/features/comments/requests.http b/features/comments/requests.http index 90ed12f..9967764 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZX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9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGh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HmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJ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EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9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7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "parent_root": "-jKw8VFRrXite7H2qsQapj9rcQ==", @@ -49,19 +49,23 @@ 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJw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2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqc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I_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Fetch your comments GET http://127.0.0.1:8080/api/v1/comments/your-comments Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnf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Rp_sSJ9kBNrFj0QD4w { "next": 168899127721647912 @@ -71,7 +75,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/comments/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_We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/features/drafts/requests.http b/features/drafts/requests.http index e466cc9..43c67b9 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +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DdhNG PATCH http://127.0.0.1:8080/api/v1/drafts/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "draft_id": "SOME MASKED ID", @@ -37,7 +37,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/drafts/delete Content-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ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "draft_id": "SOME MASKED ID" diff --git a/features/feedback/requests.http b/features/feedback/requests.http index c537993..f022764 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 eyJhbGciOiJSUzI1NiIs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yb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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 6ade5f6..56b5fcb 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 eyJhbG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iJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "next": 1689647419058834 @@ -14,4 +14,6 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/hide-log/hide-log?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZ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bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} diff --git a/features/notifications/requests.http b/features/notifications/requests.http index cc3253a..cceefc7 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMD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/notifications/token-uid Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2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9DwiErLJ" @@ -31,13 +31,15 @@ Content-Type: application/json GET http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Set topic prefs PUT http://127.0.0.1:8080/api/v1/notifications/topic-prefs Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjE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MiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "daily_hottest": true, diff --git a/features/posts/requests.http b/features/posts/requests.http index 1c005e0..7650a69 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJm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Z29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "title": "MY TEST DUDE", @@ -14,19 +14,23 @@ 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.eyJyb2x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lci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiL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FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Fetch posts GET http://127.0.0.1:8080/api/v1/posts/posts?profanity=false Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3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WFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "sort": "new", @@ -40,19 +44,23 @@ 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktx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oZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1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nsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Fetch your posts GET http://127.0.0.1:8080/api/v1/posts/your-posts Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBn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yApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "next": 1688460277629001 @@ -62,7 +70,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/posts/hide Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYX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kMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "post_id": "SOME MASKED ID" @@ -72,7 +80,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/posts/edit Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0f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FqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "post_id": "a4dnDZsvpKXQItFYHAhVfDYrUA==", diff --git a/features/reports/requests.http b/features/reports/requests.http index 3fa5b40..8b75203 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0P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yfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB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seY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "next": null @@ -25,6 +25,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/reports/report?id=SOMEMASKEDID Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV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KAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w +{} diff --git a/features/saves/requests.http b/features/saves/requests.http index 1ef6667..7b39578 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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBG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CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEp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41ZA-1Rp_sSJ9kBNrFj0QD4w { "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 eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwK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+34,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/saves/comments Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "next": null diff --git a/features/schools/requests.http b/features/schools/requests.http index b7852fb..19e4e9e 100644 --- a/features/schools/requests.http +++ b/features/schools/requests.http @@ -2,29 +2,37 @@ GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10&school=uvicasdsad Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10&radius=5000 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOD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InN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### GET http://127.0.0.1:8080/api/v1/schools?offset=1&limit=10 Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2Vj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hdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OT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SQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Watch a school POST http://127.0.0.1:8080/api/v1/schools/watch Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NS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OnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "school_id": "SfQLOaiYKxo4OOVeYb5paos=" @@ -34,7 +42,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/schools/unwatch Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1L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lkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "school_id": "SOME MASKED ID" @@ -44,7 +52,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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcuc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iOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "include_home_school": true @@ -54,7 +62,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG GET http://127.0.0.1:8080/api/v1/schools/rank? Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRyd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W5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "purge_cache": true, @@ -67,11 +75,14 @@ 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXN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XIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNz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Vb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w +{} \ No newline at end of file diff --git a/features/user/requests.http b/features/user/requests.http index 89e2cd6..28d2217 100644 --- a/features/user/requests.http +++ b/features/user/requests.http @@ -2,25 +2,31 @@ GET http://127.0.0.1:8080/api/v1/user/user Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDv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aQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### get user standing GET http://127.0.0.1:8080/api/v1/user/user-standing Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUP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fjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Clear user faculty DELETE http://127.0.0.1:8080/api/v1/user/faculty Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDQ1NjUsInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MjYwNDU2NSwiZXhwIjoxNjkyNjA4MTY1LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.TFcUPPhBWFFcrPaDFXkUn_0fToiOb_vkCDvP_OjiQK0PsjSUtcAXMpxgXSB3j5BjiqDXdUBPfKqIwOZKb0PB_VO1AIpLZqcN81F1sXXSulgpPzPnNJCYvtgFeG4rJV6sY0Ie79oqvQnWCbRX1N-Ahi8SPQphea698XrlinUPe6uASvg_XxhbBGrZ6HNsqX7_3m4jVO5xmk6QqC25n6TxO88H-CEpStDHPnfZHQjjiDiq59RZbKvRMym7LcD1237XMOSnrtwKgWsqQPU_WeSmjsNONUxvRXS7FB0qeh4q6MGqUT2BbRhen181llfa-aLKbaDvROSpuvBcvQgh1szbbA +Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImM2MGI5ZGUwODBmZmFmYmZjMTgzMzllY2Q0NGFjNzdmN2ZhNGU4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### Set user faculty PATCH http://127.0.0.1:8080/api/v1/user/faculty Content-Type: application/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U4ZDMiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "faculty": "ENG" @@ -30,14 +36,16 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG DELETE http://127.0.0.1:8080/api/v1/user/year-of-study Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOD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InN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} ### 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2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CJhdXRoX3RpbWUiOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "year_of_study": "One" @@ -47,7 +55,7 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG PATCH http://127.0.0.1:8080/api/v1/user/school Content-Type: application/json -Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci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5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "school_id": "SOME MASKED ID" @@ -59,4 +67,6 @@ 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ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iOjE2OTMxODU0NzksInVzZXJfaWQiOiJyQm5LcERKS3FpZ05kNTNTY1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w + +{} diff --git a/features/votes/requests.http b/features/votes/requests.http index 5c7adde..3794254 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.eyJyb2xlcyI6W10sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJ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Y1JBQktIbXR3VGoxIiwic3ViIjoickJuS3BESktxaWdOZDUzU2NSQUJLSG10d1RqMSIsImlhdCI6MTY5MzE4NTQ3OSwiZXhwIjoxNjkzMTg5MDc5LCJlbWFpbCI6Im1hdHRoZXcucmwudHJlbnRAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsibWF0dGhldy5ybC50cmVudEBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.dnfzRjR_pYKwDg5vjnHmFGvJj7gRKsCNyApva3x4QpTtOCbisydqh-e7SNNwEvB0EZ6EaNa4tBODI2OkMVb7XPY0F7RHsCDnZNGmQ5n4aVbdQl88LCAniWFqGoTvEOOobaQbi4UVpuyfQKrwGkOr_v9mxxtqUmSA9pABC2rR7YuIPO9sX7MseY6iGrQArBmHI_LzeTYzZAuWiyDizN1UUOvBKb5z6wKAL43mcESAjmN4JKNdQJNPf2GpebCeZUBmT0ds23ZfjC6Tb_etEabD4CcEbTczl1Gen-8T35Sp16qkCIKduKbj63IjDDh0YC41ZA-1Rp_sSJ9kBNrFj0QD4w { "content_id": "GS2yILFqbxjpslxsSwLXabzzCw==", diff --git a/scripts/main.go b/scripts/main.go index 0cb5a45..bcb69b5 100644 --- a/scripts/main.go +++ b/scripts/main.go @@ -9,9 +9,14 @@ import ( "errors" "fmt" "io" + "io/ioutil" "log" + "net/http" "os" + "regexp" "strconv" + "strings" + "time" "gopkg.in/guregu/null.v4" "gorm.io/gorm/clause" @@ -30,6 +35,8 @@ func main() { seedFaculties() case "--seed-schools": seedSchools() + case "--test-endpoints-speed": + testEndpointsSpeed() case "--seed-all": seedAll() case "--seed-feedback-types": @@ -346,3 +353,97 @@ func nonceGenerator() { nonceStr := hex.EncodeToString(nonce) fmt.Println(nonceStr) } + +func testEndpointsSpeed() { + filePaths := []string{ + // "features/admin/requests.http", // Admin + // "features/auth/requests.http", // Auth + // "features/hide_log/requests.http", // Hide log + "features/comments/requests.http", // Comments + "features/posts/requests.http", // Posts + "features/schools/requests.http", // Schools + "features/user/requests.http", // Users + "features/votes/requests.http", // Votes + "features/feedback/requests.http", // Feedback + "features/notifications/requests.http", // Notifications + "features/saves/requests.http", // Saves + "features/reports/requests.http", // Reports + "features/drafts/requests.http", // Drafts + // Add more file paths here... + } + + for _, filePath := range filePaths { + content, err := ioutil.ReadFile(filePath) + if err != nil { + fmt.Printf("Error reading file %s: %v\n", filePath, err) + continue + } + + // Convert content to string + fileContent := string(content) + + // Define regular expressions for request parts + + re := regexp.MustCompile(`(?m)^(GET|POST|DELETE|PATCH|PUT) (http:\/\/[^\s]+)\n(.*(?:\n.+)*)\n\n\{([^}]*)\}$`) + matches := re.FindAllStringSubmatch(fileContent, -1) + + for _, match := range matches { + method := match[1] + url := match[2] + headers := match[3] + body := match[4] + + // Parse headers + headerRegex := regexp.MustCompile(`(?m)([^\n:]+):\s+(.*)`) + headerMatches := headerRegex.FindAllStringSubmatch(headers, -1) + + headerMap := make(map[string]string) + for _, headerMatch := range headerMatches { + headerMap[headerMatch[1]] = headerMatch[2] + } + + // Format for marshal + body = "{" + body + "}" + + responseTime, err := makeRequest(method, url, headerMap, []byte(body)) + if err != nil { + fmt.Printf("Error making request: %v\n", err) + continue + } + + if responseTime >= 200*time.Millisecond { + fmt.Println("FAIL (>= 200ms)") + fmt.Println("Method:", method) + fmt.Println("URL:", url) + fmt.Println("Body:", body) + fmt.Printf("Response time: %s\n", responseTime) + fmt.Println(strings.Repeat("-", 20)) + } else { + fmt.Println("PASS (< 200ms)") + } + + } + } +} + +func makeRequest(method, url string, headers map[string]string, body []byte) (time.Duration, error) { + client := &http.Client{} + req, err := http.NewRequest(method, url, bytes.NewBuffer(body)) + if err != nil { + return 0, err + } + + for key, value := range headers { + req.Header.Set(key, value) + } + + startTime := time.Now() + resp, err := client.Do(req) + if err != nil { + return 0, err + } + defer resp.Body.Close() + + responseTime := time.Since(startTime) + return responseTime, nil +}