sSlotty / SWD-TEST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWD-TEST

Name : Thanathip Chansri

Section 1

Section 2

API Reference School

Create student score

  POST /api/student_score/
Parameter Type Description
first_name string Required. first name
last_name string Required. last name
subject_title string Required. subject title
score integer Required. score

Get student score

  GET /api/student_score/${student_id}
Parameter Type Description
student_id string Required. id of student

Get personnel detail

  GET /api/personnel_details/${school_name}
Parameter Type Description
school_name string Required. name of school

Get School heirarchy

  GET /api/school_hierarchy/

Get school structure

  GET /api/school_structure/

API Reference TODO

Create todo

  POST /api/todo/
Parameter Type Description
title string Required. first name
description string Required. last name

Get all todo

  GET /api/todo/

Get todo by tiele

  GET /api/todo/${title}
Parameter Type Description
title string Required. title of todo

Delete Todo by title

  DELETE /api/todo/${title}
Parameter Type Description
title string Required. title of todo

Update Todo by title

  PUT /api/todo/${title}
Parameter Type Description
title string Required. first name
description string Required. last name

API Reference Send-Email

Send mail

  POST /api/send/
Parameter Type Description
subject string Required. subject
message string Required. message
name string Required. name of recipient
to string Required. email of recipient

About


Languages

Language:Python 100.0%