Skip to content
Finn Lippok edited this page Mar 27, 2023 · 3 revisions

REST API /api/v1/user/

⚠️ Authorization Header: All requests must contain a Authorization Header.

Authorization Bearer {JWT-Token}

Get User

Request

Endpoint: GET /api/v1/user/ {id}

Response

{
  "id": "UUID",
  "user_name": "String",
  "bio": "String"
}

Search User

Request

Endpoint: GET /api/v1/user/search/ {query}/{page}

Response

{
  {
    "id": "UUID",
    "user_name": "String",
    "bio": "String"
  },
  {
    "id": "UUID",
    "user_name": "String",
    "bio": "String"
  }
}

Update Bio of User

Request

Endpoint: PUT /api/v1/user/update/ {Bio}

Response

{
  "id": "UUID",
  "user_name": "String",
  "bio": "String"
}

Clone this wiki locally