Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 691 Bytes

get.md

File metadata and controls

31 lines (29 loc) · 691 Bytes

GET /api/users/all

======

Returns an array of all users in database, including their hashed passwords

Response body

[
    {
        "date": "2000-01-01T00:00:00.000Z",
        "_id": "1234567890abcdefg",
        "username": "[email protected]",
        "password": "hashedpassword",
        "__v": 0
    },
    {
        "date": "2000-01-01T00:00:00.000Z",
        "_id": "1234567890abcdefg",
        "username": "[email protected]",
        "password": "hashedpassword",
        "__v": 0
    },
    {
        "date": "2000-01-01T00:00:00.000Z",
        "_id": "1234567890abcdefg",
        "email": "[email protected]",
        "password": "hashedpassword",
        "__v": 0
    }
]