Skip to content

Fetch Training Videos API Response Payload

Abhishek edited this page Jun 29, 2024 · 6 revisions
{
  "data": {
    "content": [
      {
        "videoId": "01HXG3VPFKKZAZ5134YBTPDPF",
        "videoTitle": "Into to spring boot",
        "thumbnailUrl" : "<bucket_public_url>",
        "viewCount" : 0,
        "videoCategory" : "Java"
      },
      {
        "videoId": "01HXG3VPFKKZBZ5134YBTPDPF",
        "videoTitle": "Into to C#",
        "thumbnailUrl" : "<bucket_public_url>",
        "viewCount" : 10,
        "videoCategory" : ".NET"
      }
    ]
  },
  "success": true,
  "code": 200,
  "message": "Fetched Successfully"
}

If training videos not available for given criteria

{
    "data": {
        "content": []
    },
    "message": "No Videos",
    "success": true,
    "code": 200
}

Clone this wiki locally