Get Profile
GET/profile
Fetches the individual information of the logged in user to populate the Profile page.
Responses
- 200
Returns user profile
- application/json
- Schema
- Example (auto)
Schema
first_namestring
Example:
Jane
last_namestring
Example:
Doe
emailstring
Example:
jdoe@mail.org
rolesstring[]
organization_namestring
{
"first_name": "Jane",
"last_name": "Doe",
"email": "jdoe@mail.org",
"roles": [
"developer"
],
"organization_name": "Stellar Aid"
}
Authorization: Authorization
name: Authorizationtype: apiKeydescription: JWT used for authentication, signed with an ES256 private key.in: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/profile");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear
¿Te fue útil esta página?