Skip to content

Instantly share code, notes, and snippets.

@aasumitro
Created October 3, 2024 09:43
Show Gist options
  • Select an option

  • Save aasumitro/3ad13855471847e436f99caa9ad3429a to your computer and use it in GitHub Desktop.

Select an option

Save aasumitro/3ad13855471847e436f99caa9ad3429a to your computer and use it in GitHub Desktop.
Test Cert
{
"error": false,
"code": 200,
"message": "OK",
"data": {
"id": "def99af9-2184-40dd-be49-d094d0d59124",
"user_id": "65b38384-a192-4474-81e6-fc429a309e0c",
"school_id": "824c1d06-035e-45d1-8e34-a083d3263ed1",
"material_id": "e983510e-2e25-43ab-b21c-4e0bf68923e3",
"type": "course",
"reference_number": "SKILZQ71A4RX331B",
"metadata": {
"course_id": "cd19df72-ccfc-4113-bfab-9d6168a2b7b8",
"green_skill_id": "b966352b-b4cf-49e7-b172-bc022056a426",
"levels": [
{
"id": "7d50fa71-1b8b-4cbb-a70f-53e40089cfeb",
"proficiency": 1,
"name": "novice",
"image_url": "https://stgreenskills001.blob.core.windows.net/course-levels/novice.png",
"learning_outcome": "this actually a learning outcomes so instructor have to update this and this data will be displayed on certificate",
"updated_at": "2023-09-14T11:47:19.14Z"
},
{
"id": "e6949a18-9473-4c46-ad93-1a438909083f",
"proficiency": 2,
"name": "developing",
"image_url": "https://stgreenskills001.blob.core.windows.net/course-levels/developing.png",
"learning_outcome": "<p>mamen trying to update the second level</p>",
"updated_at": "2023-12-05T08:22:15.307Z"
},
{
"id": "58d3dcdc-67c1-4e31-9b7a-5ce86a2dd0bc",
"proficiency": 3,
"name": "proficient",
"image_url": "https://stgreenskills001.blob.core.windows.net/course-levels/proficient.png",
"learning_outcome": "<p>lorem ipsum</p>",
"updated_at": "2023-12-20T16:59:04.119Z"
}
]
},
"created_at": "2024-10-03T09:29:32.561Z",
"updated_at": null,
"valid_from": null,
"valid_until": null,
"material": {
"id": "e983510e-2e25-43ab-b21c-4e0bf68923e3",
"owner_certificate_id": "60eb785a-4ed2-43f1-a66a-dab224b3bf17",
"school_id": "824c1d06-035e-45d1-8e34-a083d3263ed1",
"status": "active",
"admin_signature": "https://stgreenskills001.blob.core.windows.net/greenskills-trainer-imgs-test/824c1d06-035e-45d1-8e34-a083d3263ed1",
"owner_certificate": {
"display_name": "aasumitro",
"first_name": "A. A.",
"last_name": "Sumitro",
"email": "[email protected]",
"job_title": "Backend Engineer",
"id": "60eb785a-4ed2-43f1-a66a-dab224b3bf17"
},
"school": {
"_id": "824c1d06-035e-45d1-8e34-a083d3263ed1",
"owner_id": "60eb785a-4ed2-43f1-a66a-dab224b3bf17",
"owner_email": "[email protected]",
"stripe_account_id": "",
"name": "Believer School",
"description": "Believer School has involved and trained over 1M students all over the world, Let's join with us and change the world",
"location": "Indonesia",
"social_url": {
"website_url": "https://lorem.id",
"linkedin_url": "https://linkedin.com/in/lorem",
"twitter_url": "https://twitter.com/lorem",
"facebook_url": "https://facebook.com/lorem",
"instagram_url": "https://instagram.com/test"
},
"logo": "https://stgreenskills001.blob.core.windows.net/greenskills-trainer-imgs-test/824c1d06-035e-45d1-8e34-a083d3263ed1.jpg",
"sharing_profit": 0,
"status": "ACTIVE",
"contract_expired_at": null,
"created_at": "2023-08-24T07:41:59.079Z",
"updated_at": "2024-10-01T07:24:56.306Z",
"courses": null,
"total_course": 0,
"admin_signature": "",
"is_signature_exist": true
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment