Return the authenticated Lumigraph actor and user profile.
curl --request GET \
--url https://api.nebyoulous.space/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nebyoulous.space/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nebyoulous.space/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"actor": {
"userId": "<string>",
"sub": "<string>",
"email": "jsmith@example.com",
"name": "<string>",
"roles": [
"<string>"
],
"status": "ACTIVE"
},
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"image": "<string>",
"username": "<string>"
}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Account
Return the authenticated Lumigraph actor and user profile.
GET
/
me
Return the authenticated Lumigraph actor and user profile.
curl --request GET \
--url https://api.nebyoulous.space/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nebyoulous.space/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nebyoulous.space/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"actor": {
"userId": "<string>",
"sub": "<string>",
"email": "jsmith@example.com",
"name": "<string>",
"roles": [
"<string>"
],
"status": "ACTIVE"
},
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"image": "<string>",
"username": "<string>"
}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}