Users
Get User Information
This API allows you to retrieve the details of the currently authenticated user.
GEThttps://api.w3ipfs.storage/api/users/me
Headers
Authorization* Bearer your_access_token_here
Response
200: OK
curl --location --request GET 'https://api.w3ipfs.storage/api/users/me' \
--header 'Authorization: Bearer JWT'
Edit User
Edit the first name and last name of the user's profile
The request body when edited will look like this:
{
"first_name": string,
"last_name": string
}
PUThttps://api.w3ipfs.storage/api/users/editProfile
Headers
Authorization* Bearer your_access_token_here
Body
first_name First name
last_name Last name
Response
200: OK
curl --location --request PUT 'https://api.w3ipfs.storage/api/users/editProfile' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "First",
"last_name": "Last"
}'