Internal Functions

Subscribe a new student

Editar páginaReportar problema

Subscribe a new student with the provided data.

POST
/students
AuthorizationBearer <token>

API Token for authentication

In: header

name?string

Student name

Length1 <= length <= 255
code?string

Student Matricula

Length6 <= length <= 6
ingressYear?integer

Student ingress year

Range2000 <= value <= 2022
coursestring

Student course

Value in"ES" | "CC" | "MEC" | "CIV" | "PROD"
emailstring

Student email

Formatemail

Response Body

curl -X POST "https://mi-boletim-internal-functions.maisinformaufcrussas.workers.dev/students" \
  -H "Content-Type: application/json" \
  -d '{
    "course": "ES",
    "email": "example@example.com"
  }'
Empty