Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.64 KB

GetAuthenticatedUserProfile.md

File metadata and controls

67 lines (55 loc) · 1.64 KB

Get authenticated user profile

Return information about the currently authenticated user: profile, experience and membership data.

HTTP Request

GET musora-api/profile

Permissions

- Only authenticated user

Request Example:

$.ajax({
    url: 'https://www.domain.com' +
        '/musora-api/profile',
    type: 'get',
    success: function(response) {
        // handle success
    },
    error: function(response) {
        // handle error
    }
});

Response Example (200):

{
  "id": 424855,
  "wordpressId": null,
  "ipbId": null,
  "email": "postman_test_user@drumeo.com",
  "permission_level": null,
  "login_username": "postman_test_user@drumeo.com",
  "display_name": "postman_test_user99078",
  "first_name": null,
  "last_name": null,
  "gender": null,
  "country": null,
  "region": null,
  "city": null,
  "birthday": "",
  "phone_number": null,
  "bio": null,
  "created_at": "2021-03-17 15:29:59",
  "updated_at": "2021-03-17 15:29:59",
  "avatarUrl": "https://s3.amazonaws.com/pianote/defaults/avatar.png",
  "totalXp": "0",
  "xpRank": "Enthusiast I",
  "isEdge": true,
  "isEdgeExpired": false,
  "edgeExpirationDate": null,
  "isPackOlyOwner": true,
  "isAppleAppSubscriber": false,
  "isGoogleAppSubscriber": false
}