GET api/v1/Subject/Get?subjectId={subjectId}

获得具体科目信息,及其下面的课程和视频信息,下面是具体科目的ID 科目一:1 科目四:4

Request Information

Parameters

NameDescriptionAdditional information
subjectId
No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "data": {
    "isFinished": true,
    "finishedMsg": "sample string 2",
    "keyFinishedMsg": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "lessons": [
      {
        "practice": {
          "questions": [
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            },
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            },
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            }
          ]
        },
        "videos": [
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          },
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          },
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          }
        ],
        "canLearn": true,
        "isLearned": true,
        "subjectId": 3,
        "lessonId": 4,
        "lessonName": "sample string 5",
        "teacherName": "sample string 6",
        "thumbnail": "sample string 7",
        "hasPractice": true
      },
      {
        "practice": {
          "questions": [
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            },
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            },
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            }
          ]
        },
        "videos": [
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          },
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          },
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          }
        ],
        "canLearn": true,
        "isLearned": true,
        "subjectId": 3,
        "lessonId": 4,
        "lessonName": "sample string 5",
        "teacherName": "sample string 6",
        "thumbnail": "sample string 7",
        "hasPractice": true
      },
      {
        "practice": {
          "questions": [
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            },
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            },
            {
              "id": 1,
              "question": "sample string 2",
              "image": "sample string 3",
              "imageWidth": 4,
              "imageHeight": 5,
              "options": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "answer": [
                1,
                2,
                3
              ]
            }
          ]
        },
        "videos": [
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          },
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          },
          {
            "isWatched": true,
            "videoSecondsTxt": "00:00:07",
            "videoId": 2,
            "lessonId": 3,
            "videoName": "sample string 4",
            "playOrder": 5,
            "videoThumbnail": "sample string 6",
            "videoSeconds": 7,
            "playUrl": "sample string 8",
            "extension": "sample string 9"
          }
        ],
        "canLearn": true,
        "isLearned": true,
        "subjectId": 3,
        "lessonId": 4,
        "lessonName": "sample string 5",
        "teacherName": "sample string 6",
        "thumbnail": "sample string 7",
        "hasPractice": true
      }
    ],
    "subjectId": 3,
    "subjectName": "sample string 4"
  },
  "status": 0,
  "friendlyMessage": "sample string 1",
  "message": "sample string 2",
  "requestId": "d5b96a8811c747cb8b6c6d0292f029dd",
  "appOwnerId": 0
}