User - Get User Information
/user
Success 200
Field | Type | Sample Response |
---|---|---|
firstname | String |
Halil |
lastname | String |
Cetiner |
current_company | String | |
position | String |
Software Engineer |
university | String | |
github | String | |
String | ||
blog | String | |
String | ||
String | ||
String |
HTTP/1.1 200 OK
{
"firstname": "Halil",
"lastname": "Cetiner",
"current_company": "Yelp",
"position": "Software Engineer",
"university": "Bogazici University",
"github": "gh/bayneri",
"linkedin": "li/cetinerhalil",
"blog": "md/@cetiner",
"twitter": "tw/bayneri",
"instagram": "ig/cetinerhalil",
"facebook": "fb/cetinerhalil",
}
Error 4xx
Field | Description |
---|---|
UserNotFound |
I'm usually accessible but if you get this error, try halil@cetiner.me. |
HTTP/1.1 404 undefined
{
"error": "UserNotFound"
}
User - Update User Information
/user
Error 4xx
Field | Description |
---|---|
UpdateNotAllowed |
Don't you dare try to get into my personal space. “I'm a very private person.”. |
HTTP/1.1 403 Forbidden
{
"error": "UpdateNotAllowed"
}
Built with adapt - apiDoc as personal website template • /
Developed based on apiDoc template