Get User

ユーザー情報を取得する。

Summary

type
APIEndpoint
status
stable
title
Get User
description
ユーザー情報を取得する。
resource
https://example.com/api/v1/users/{userId}
tags
read; users
generated
at: 2026-08-11T00:00:00Z, by: human:okf-seedling
verified
at: 2026-08-11T00:00:00Z, by: human:okf-seedling
stale_after
2026-12-31
method
GET
path
/v1/users/{userId}

ユーザーID からユーザー情報を取得する。

Path Params

  • userId (string, required): ユーザーID。

Query Params

  • なし。

Headers

  • Authorization: Bearer <token>

Responses

  • 200: OK
  • 404: Not Found
  • 429: Too Many Requests

Examples

Request

GET /v1/users/123

Response (200)

{ "id": "123", "name": "Taro" }