FastAPI (0.1.0)

Download OpenAPI specification:Download

Root Handler

Responses

Response samples

Content type
application/json
{
  • "name": "string"
}

Healthz Handler

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "message": ""
}

Topz Handler

Responses

Response samples

Content type
application/json
{
  • "resouce": "string"
}

Read Authors Handler

query Parameters
name
string (Name)
Default: ""

Responses

Response samples

Content type
application/json
null

Create Author Handler

Request Body schema: application/json
first_name_ja
required
string (First Name Ja)
middle_name_ja
string (Middle Name Ja)
last_name_ja
required
string (Last Name Ja)
first_name_en
required
string (First Name En)
middle_name_en
string (Middle Name En)
last_name_en
required
string (Last Name En)
joined_year
required
integer (Joined Year)
is_graduated
required
boolean (Is Graduated)

Responses

Request samples

Content type
application/json
{
  • "first_name_ja": "string",
  • "middle_name_ja": "string",
  • "last_name_ja": "string",
  • "first_name_en": "string",
  • "middle_name_en": "string",
  • "last_name_en": "string",
  • "joined_year": 0,
  • "is_graduated": true
}

Response samples

Content type
application/json
{
  • "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  • "first_name_ja": "string",
  • "middle_name_ja": "string",
  • "last_name_ja": "string",
  • "first_name_en": "string",
  • "middle_name_en": "string",
  • "last_name_en": "string",
  • "joined_year": 0,
  • "is_graduated": true,
  • "created_at": "2019-08-24T14:15:22Z",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Read Author Handler

path Parameters
author_uuid
required
string <uuid> (Author Uuid)

Responses

Response samples

Content type
application/json
{
  • "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  • "first_name_ja": "string",
  • "middle_name_ja": "string",
  • "last_name_ja": "string",
  • "first_name_en": "string",
  • "middle_name_en": "string",
  • "last_name_en": "string",
  • "joined_year": 0,
  • "is_graduated": true,
  • "created_at": "2019-08-24T14:15:22Z",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete Author Handler

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "message": ""
}