1. modul
LeksiGo v2
  • auth
    • login
      POST
    • register
      POST
    • logout
      POST
  • child
    • get [parent]
      GET
    • post [parent]
      POST
    • get [insitution]
      GET
    • put [parent]
      PUT
    • delete [parent]
      DELETE
  • users
    • get
      GET
    • post
      POST
    • show
      GET
    • put
      PUT
    • delete
      DELETE
  • institution
    • get
      GET
    • post [admin]
      POST
    • show
      GET
    • updateStatus
      PATCH
    • get applicants [institution]
      GET
    • apply applicants [institution]
      POST
  • teacher
    • get
    • post
    • put
    • updateStatus
  • playground
    • teacher
      • course
        • store
        • get
        • show
        • put
        • active status
      • modul
        • post
          POST
        • put
          PUT
        • active status
          PATCH
        • submit answer
          POST
  1. modul

submit answer

Developing
POST
/playgrounds/{playgroundId}/module/{moduleId}/submit

Request

Path Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff '/playgrounds/{{playgroundId}}/module/{{moduleId}}/submit' \
--header 'Authorization: Bearer {{accessToken}}' \
--header 'Content-Type: application/json' \
--data '{
    "answers": [
        {
            "questionId": "6a06935be2a5d896c5c710a8",
            "text": "Buku",
            "file": "storage/answers/audio-123.mp3",
            "timeOpened": "2023-10-27T10:00:00Z",
            "timeAnswered": "2023-10-27T10:00:15Z",
            "duration": "15s",
            "similarityPoint": "95"
        }
    ]
}'
Response Response Example
{}
Modified at 2026-05-15 03:47:48
Previous
active status
Built with