Authorization: ********************{
"signatures": [
{
"skill_log_id": 0,
"skills": {
"property1": true,
"property2": true
}
}
]
}curl --location 'https://diveraid.test/api/v1/diver/courses//skills/sign' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"signatures": [
{
"skill_log_id": 0,
"skills": {
"property1": true,
"property2": true
}
}
]
}'{
"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
}
]
}
]
}