RAID API
  1. Courses
  • DiveRAID frontend public API
    • Search divers
      POST
    • Search instructors
      POST
    • Search dive centers
      POST
    • Search dive centers by country
      GET
  • DiveRAID rest API V1
    • Auth
      • Register a new user
      • Login and get a Sanctum token
      • Send password reset email
      • Reset password using token
      • Logout and revoke the current token
      • Resend email verification
      • Complete a two-factor login and get a Sanctum token
    • Profile
      • The user resource
      • Get authenticated user profile
      • Update profile
      • Register push token
      • Update password
      • Remove push token
      • Rotate exam unlock code
      • Delete account
      • Update dive center association
    • Diver
      • Shared diver resources
      • Courses
        • List active courses
          GET
        • Get exam result
          GET
        • Submit course exam
          POST
        • Sign skills (diver)
          POST
        • Get course detail
          GET
        • Submit module quiz
          POST
        • List expired courses
          GET
        • Get quiz result
          GET
        • Get skills progress
          GET
      • Free Learnings
        • List enrolled free learnings
        • Get free learning quiz result
        • List available free learning courses
        • Submit free learning module quiz
        • Get free learning detail
        • Enroll in a free learning course
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List diver certifications
      • Dive Logs
        • Delete dive log
        • Create dive log
        • Update dive log
        • List loggable courses
        • List dive logs (paginated)
        • Get dive log
      • Awards
        • List the recognition cards issued to the user
      • Documents
        • Upload own medical certificate or insurance
        • List own medical certificates and insurance
        • List diver documents
      • Forms
        • List diver forms
      • Medical
        • Get medical questionnaire structure
        • Submit medical questionnaire
      • Store
        • List courses available for purchase
        • Get order status
    • Professional
      • Students
        • List students
        • Get student progress
        • Sign student skills
        • Get student exam result
        • Get student quiz result
        • Get student skills progress
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List all professional certifications
        • List diver-level certifications
        • List examiner certifications
        • List professional certifications
        • List specialty certifications
        • List trainer certifications
      • Classroom
        • List classrooms
        • Get classroom progress (all students)
        • Get classroom student progress
        • Sign classroom student skills
        • Get classroom student exam result
        • Get classroom student quiz result
        • Get classroom student skills
      • Renewals
        • List renewal courses
        • Get renewal exam result
        • Submit renewal exam
        • Sign renewal skills
        • Renewal status
        • Get renewal progress
        • Submit renewal module quiz
        • Get renewal quiz result
        • Get renewal skills progress
      • Dive Logs
        • Get student dive log
        • Sign student dive log
        • List student dive logs for a course
    • Sync
      • Download full course data for offline use
      • Upload offline operations
      • Get sync status
    • Public
      • List all countries
      • Dive-log enum values with labels in the response language
      • Get country data
      • Get country divisions (states/provinces)
      • List time zone identifiers, optionally narrowed to one country
      • List, search, and radius-search publicly visible dive centres
      • Every publicly visible, geolocated dive centre as a map marker
      • Countries with at least one publicly visible dive centre
      • Full detail of one publicly visible dive centre
    • Library
      • List the RAID document library
      • List the current RAID standards
  • Schemas
    • Frontend API Schema
      • DiverSearch
    • SuccessResponse
    • DiverCertification
    • ValidationErrorResponse
    • TwoFactorChallengeResponse
    • TokenResponse
    • IssuedCertification
    • ErrorResponse
    • DiveLog
    • ExamResult
    • QuizResult
    • CourseLogDetail
    • CourseLog
    • UserProfile
    • SkillProgress
    • Certification
    • PaginatedDiveLogs
    • StoreItem
    • PaymentIntentResponse
    • OrderConfirmResponse
    • OrderStatusResponse
    • InstructorSearch
    • DiveCenterSearch
  1. Courses

Get skills progress

GET
https://test.diveraid.com/api/v1/diver/courses/{log_code}/skills
Diver / Courses
Maintainer:Not configured

Overview#

Returns the diver's skill progress for one enrolment: one entry per skill type, each listing the skills of that course at the frozen version, with who has signed each one.
A course splits its skills into two types, confined water and open water, so a complete enrolment returns two entries.
Controller: App\Http\Controllers\Api\V1\Diver\CourseController::skillsProgress()
Route name: api.v1.diver.courses.skills

Authentication#

Type: Bearer Token
Header: Authorization: Bearer {token}
Ownership is enforced in the controller by resolving the enrolment on log_code and the authenticated user id.

Request#

Method: GET
Path: /api/v1/diver/courses/{log_code}/skills

Path parameters#

ParameterTypeDescription
log_codestring(32)Opaque enrolment code. Not a primary key

Example request#


Response 200 OK#

Captured live, abbreviated to two skills of one type.
{
  "success": true,
  "status": "success",
  "message": "OK",
  "data": [
    {
      "id": 212256,
      "log_code": "a6b952760c2b672d2f45da6989b1a8c1",
      "skill_type_id": 1,
      "skill_type_name": "Confined Water or Pool",
      "user_completed": null,
      "start": "2025-04-02 18:07:22",
      "end": null,
      "skills": [
        {
          "id": 2429,
          "name": "Assemble, test, use and disassemble a continuous flow oxygen system",
          "description": "The candidate will assemble, test, use (in a simulated scenario) and disassemble, an oxygen delivery system suitable for delivering continuous flow at variable rates",
          "diver_signed": false,
          "instructor_signed": false
        },
        {
          "id": 2430,
          "name": "Assemble, test, use and disassemble a demand oxygen system",
          "description": "The candidate will assemble, test, use (in a simulated scenario) and disassemble, an oxygen delivery system suitable for delivering oxygen on demand",
          "diver_signed": false,
          "instructor_signed": false
        }
      ]
    }
  ]
}

Response fields#

FieldTypeNullableAlways presentDescription
data[].idintegerNoYesSkill log id. Send it to the skill signing endpoint
data[].log_codestring(32)NoYesThe enrolment this belongs to
data[].skill_type_idintegerNoYes1 confined water, 2 open water
data[].skill_type_namestringYesYesEnglish label, for example Confined Water or Pool
data[].user_completedstringYesYesTimestamp when the diver completed the set, null while in progress
data[].startstringYesYesY-m-d H:i:s
data[].endstringYesYesY-m-d H:i:s, null while in progress
data[].skills[].idintegerNoYesSkill id
data[].skills[].namestringNoYes
data[].skills[].descriptionstringYesYesMay contain HTML
data[].skills[].diver_signedbooleanNoYesSigned by the diver
data[].skills[].instructor_signedbooleanNoYesSigned by the instructor

Errors#

401 Unauthorized#

Standard shape.

404 Not Found#

No enrolment with that log_code for this diver. Resolved manually, so the message does not include the looked-up value.

Notes#

Read-only, no side effects.
Which skills are listed. The set is the skills of that enrolment's course, at the course version frozen for the diver, of that skill type, with status = 1. The frozen version is read from the course log while the course runs, and from the certification once it has been certified: about 88 % of skill logs resolve through the certification, since most courses are finished. Skills added to a later version of the course do not appear for a diver frozen on an earlier one.
The counts line up exactly with the signature maps stored on the skill log: a skill log with 42 entries lists 42 skills, and no listed skill is missing from the map.
An enrolment that has never reached the skills stage returns "data": [].

Source: docs/api/diver/courses/GET_skills_progress.md

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠401
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://test.diveraid.com/api/v1/diver/courses//skills' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "message": "string",
    "data": [
        {
            "id": 0,
            "log_code": "string",
            "skill_type_id": 0,
            "skill_type_name": "string",
            "user_completed": true,
            "start": "2019-08-24T14:15:22.123Z",
            "end": "2019-08-24T14:15:22.123Z",
            "skills": [
                {
                    "id": 0,
                    "name": "string",
                    "description": "string",
                    "diver_signed": true,
                    "instructor_signed": true
                }
            ]
        }
    ]
}
Modified at 2026-10-23 14:36:41
Previous
Get quiz result
Next
List enrolled free learnings
Built with