api endpoints fix and inclusion
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
79
logs/user_flow_20250810_142009.log
Normal file
79
logs/user_flow_20250810_142009.log
Normal file
@@ -0,0 +1,79 @@
|
||||
-----
|
||||
[2025-08-10 14:20:09] BASE_URL: http://localhost:8080
|
||||
[2025-08-10 14:20:09] EMAIL: user+1754803209@example.com
|
||||
[2025-08-10 14:20:09] FULL_NAME: Demo User
|
||||
[2025-08-10 14:20:09] ROLE: CLIENT
|
||||
-----
|
||||
[2025-08-10 14:20:09] REGISTER
|
||||
[2025-08-10 14:20:09] URL: http://localhost:8080/auth/v1/register
|
||||
[2025-08-10 14:20:09] HTTP: 201
|
||||
[2025-08-10 14:20:09] Body:
|
||||
{
|
||||
"id": "f4ffd570-5f43-4268-ae6c-cf3f8ec57793",
|
||||
"email": "user+1754803209@example.com",
|
||||
"full_name": "Demo User",
|
||||
"role": "CLIENT",
|
||||
"is_active": true
|
||||
}
|
||||
-----
|
||||
[2025-08-10 14:20:09] LOGIN / TOKEN
|
||||
[2025-08-10 14:20:09] URL: http://localhost:8080/auth/v1/token
|
||||
[2025-08-10 14:20:09] HTTP: 200
|
||||
[2025-08-10 14:20:09] Body:
|
||||
{
|
||||
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJmNGZmZDU3MC01ZjQzLTQyNjgtYWU2Yy1jZjNmOGVjNTc3OTMiLCJlbWFpbCI6InVzZXIrMTc1NDgwMzIwOUBleGFtcGxlLmNvbSIsInJvbGUiOiJDTElFTlQiLCJ0eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzU0ODA0MTA5fQ.HgFmBf7lVPTFAiS91k-Ezh5DDjbdFCcMX9hdxY6-YcM",
|
||||
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJmNGZmZDU3MC01ZjQzLTQyNjgtYWU2Yy1jZjNmOGVjNTc3OTMiLCJlbWFpbCI6InVzZXIrMTc1NDgwMzIwOUBleGFtcGxlLmNvbSIsInJvbGUiOiJDTElFTlQiLCJ0eXBlIjoicmVmcmVzaCIsImV4cCI6MTc1NzM5NTIwOX0.bepjGzYMGld7o_KB39Z3K7nYmt4plVKotvF37E8zawA",
|
||||
"token_type": "bearer"
|
||||
}
|
||||
[2025-08-10 14:20:09] Got access_token (hidden)
|
||||
-----
|
||||
-----
|
||||
[2025-08-10 14:20:09] GET /profiles/me
|
||||
[2025-08-10 14:20:09] URL: http://localhost:8080/profiles/v1/profiles/me
|
||||
[2025-08-10 14:20:09] HTTP: 404
|
||||
[2025-08-10 14:20:09] Body:
|
||||
{
|
||||
"detail": "Profile not found"
|
||||
}
|
||||
[2025-08-10 14:20:09] Profile not found — creating…
|
||||
-----
|
||||
[2025-08-10 14:20:09] CREATE /profiles
|
||||
[2025-08-10 14:20:09] URL: http://localhost:8080/profiles/v1/profiles
|
||||
[2025-08-10 14:20:09] HTTP: 201
|
||||
[2025-08-10 14:20:09] Body:
|
||||
{
|
||||
"gender": "other",
|
||||
"city": "Moscow",
|
||||
"languages": [
|
||||
"ru",
|
||||
"en"
|
||||
],
|
||||
"interests": [
|
||||
"music",
|
||||
"travel"
|
||||
],
|
||||
"id": "aa6d6046-b235-4727-a37d-9b74f36cce00",
|
||||
"user_id": "f4ffd570-5f43-4268-ae6c-cf3f8ec57793",
|
||||
"photo_url": null
|
||||
}
|
||||
-----
|
||||
[2025-08-10 14:20:09] GET /profiles/me (after create)
|
||||
[2025-08-10 14:20:09] URL: http://localhost:8080/profiles/v1/profiles/me
|
||||
[2025-08-10 14:20:09] HTTP: 200
|
||||
[2025-08-10 14:20:09] Body:
|
||||
{
|
||||
"gender": "other",
|
||||
"city": "Moscow",
|
||||
"languages": [
|
||||
"ru",
|
||||
"en"
|
||||
],
|
||||
"interests": [
|
||||
"music",
|
||||
"travel"
|
||||
],
|
||||
"id": "aa6d6046-b235-4727-a37d-9b74f36cce00",
|
||||
"user_id": "f4ffd570-5f43-4268-ae6c-cf3f8ec57793",
|
||||
"photo_url": null
|
||||
}
|
||||
[2025-08-10 14:20:09] DONE. Log saved to: logs/user_flow_20250810_142009.log
|
||||
Reference in New Issue
Block a user