sessions/internal/bundb/testdata/fixture.yml
Dawid Wysokiński 786cc60e38
All checks were successful
continuous-integration/drone/push Build is passing
feat: add a new REST endpoint - GET /api/v1/user/sessions/:server (#14)
Reviewed-on: #14
2022-11-25 05:55:31 +00:00

42 lines
1.1 KiB
YAML

- model: User
rows:
- _id: user-1
id: 11111
name: User-1
name_lower: user-1
created_at: 2022-03-15T15:00:10.000Z
- _id: user-2
id: 11112
name: User-2
name_lower: user-2
created_at: 2022-04-15T15:00:10.000Z
- model: APIKey
rows:
- _id: user-1-api-key-1
id: 11111
key: 4c0d2d63-4ef7-4c23-bb4d-f3646cc9658f
user_id: 11111
created_at: 2022-03-15T15:15:10.000Z
- model: Session
rows:
- _id: user-1-session-1
id: 111111
user_id: 11111
server_key: pl181
sid: NzM3NjgzZmMtYWNlNC00MTI4LThiNWYtMWRlNTYwYjdjNmUx
created_at: 2022-03-15T15:15:10.000Z
updated_at: 2022-03-15T15:15:10.000Z
- _id: user-1-session-2
id: 111112
user_id: 11111
server_key: pl183
sid: NzM3NjgzZmMtYWNlNC00MTI4LThiNWYtMWRlNTYwYjdjNmUx
created_at: 2022-03-25T15:15:10.000Z
updated_at: 2022-03-25T15:15:10.000Z
- _id: user-2-session-1
id: 111121
user_id: 11112
server_key: pl181
sid: NzM3NjgzZmMtYWNlNC00MTI4LThiNWYtMWRlNTYwYjdjNmUx
created_at: 2022-04-25T15:15:10.000Z
updated_at: 2022-04-25T15:15:10.000Z