URL Method Params
Parameter Type Desciption
/wp-json/learnpress/v1/user/id GET

Response

"{
  ""id"": 1,
  ""username"": ""admin"",
  ""name"": ""admin"",
  ""first_name"": ""dao"",
  ""last_name"": ""nham"",
  ""email"": ""[email protected]"",
  ""url"": ""http:\/\/learnpress4.local"",
  ""description"": ""Hello Bio admin"",
  ""link"": ""http:\/\/learnpress4.local\/author\/admin\/"",
  ""nickname"": ""admin"",
  ""slug"": ""admin"",
  ""tabs"": {
    ""courses"": {
      ""title"": ""Courses"",
      ""slug"": ""courses"",
      ""priority"": 1,
      ""icon"": ""<i class=\""fas fa-book-open\""><\/i>"",
      ""content"": {
        ""enrolled"": {
          ""in-progress"": [
            {
              ""id"": ""480"",
              ""title"": ""Course 1 - 1"",
              ""graduation"": ""in-progress"",
              ""status"": ""enrolled"",
              ""start_time"": ""2022-02-15T02:36:30"",
              ""end_time"": false,
              ""expiration"": ""2022-04-26T02:36:30"",
              ""results"": {
                ""result"": 0,
                ""pass"": 0,
                ""count_items"": 16,
                ""completed_items"": 1,
                ""items"": {
                  ""lesson"": {
                    ""completed"": ""0"",
                    ""passed"": ""0"",
                    ""total"": 12
                  },
                  ""quiz"": {
                    ""completed"": ""1"",
                    ""passed"": ""0"",
                    ""total"": 4
                  }
                },
                ""evaluate_type"": ""evaluate_lesson""
              }
            }
          ]
        },
        ""created"": {
          ""all"": [
            480,
            507,
            536
          ],
          ""publish"": [
            480,
            507,
            536
          ],
          ""pending"": []
        }
      }
    },
    ""quizzes"": {
      ""title"": ""Quizzes"",
      ""slug"": ""quizzes"",
      ""priority"": 20,
      ""icon"": ""<i class=\""fas fa-puzzle-piece\""><\/i>"",
      ""content"": {
        ""all"": [
          {
            ""id"": 481,
            ""result"": ""33.33%"",
            ""graduation"": ""failed"",
            ""start_time"": ""2022-02-23T04:45:15"",
            ""end_time"": ""2022-02-23T05:15:14"",
            ""data"": {
              ""questions"": {
                ""482"": {
                  ""answered"": ""ca10da4d"",
                  ""correct"": true,
                  ""mark"": 1,
                  ""explanation"": """",
                  ""options"": [
                    {
                      ""title"": ""[TRUE] - Mehercule sciant fusi facit habent ea actionemque aliqui oritur attende omnibus sin haberem cupiditates in"",
                      ""value"": ""ca10da4d"",
                      ""is_true"": ""yes"",
                      ""uid"": 500
                    },
                    {
                      ""title"": ""Multum constituta rhetoribus dogmata generis amor vitium quid reprehendo locuples utroque"",
                      ""value"": ""5a6ecfff"",
                      ""is_true"": ""no"",
                      ""uid"": 501
                    }
                  ]
                },
                ""483"": {
                  ""answered"": """",
                  ""correct"": false,
                  ""mark"": 0,
                  ""explanation"": """",
                  ""options"": [
                    {
                      ""title"": ""Uterque ames pedes gerendarum tubulus consuetudinem clamores humano inanitas pudoris certum vite censet scaevola voluptates"",
                      ""value"": ""86dd6e9a"",
                      ""is_true"": ""no"",
                      ""uid"": 502
                    },
                    {
                      ""title"": ""[TRUE] - Dustmata pervenit traduceret sententiae vultus iacere squilla die singulis dubitant dicit efficitur lectulis relinquunt"",
                      ""value"": ""1eb27a00"",
                      ""is_true"": ""yes"",
                      ""uid"": 503
                    }
                  ]
                },
                ""484"": {
                  ""answered"": """",
                  ""correct"": false,
                  ""mark"": 0,
                  ""explanation"": """",
                  ""options"": [
                    {
                      ""title"": ""Stuprata aristonem tribunus autem appellocommunia expectoque tubuli callipho natos apparet iustitia brevem diximus"",
                      ""value"": ""93fa60f6"",
                      ""is_true"": ""no"",
                      ""uid"": 504
                    },
                    {
                      ""title"": ""Accesseris consectetur t virtutibus humano mnesarchum primisque vellentne disputationibus existimoad tenebris tarentum probabis"",
                      ""value"": ""62dc118e"",
                      ""is_true"": ""no"",
                      ""uid"": 505
                    },
                    {
                      ""title"": ""[TRUE] - Mendicus gratiam dixeras praetermittentium persecuti probitate iudicare pugnat magnum simus relinquo"",
                      ""value"": ""99cc2734"",
                      ""is_true"": ""yes"",
                      ""uid"": 506
                    }
                  ]
                }
              },
              ""mark"": 3,
              ""user_mark"": 1,
              ""question_count"": 3,
              ""question_empty"": 2,
              ""question_answered"": 1,
              ""question_wrong"": 0,
              ""question_correct"": 1,
              ""status"": """",
              ""result"": 33.329999999999998,
              ""time_spend"": ""00:19:59"",
              ""passing_grade"": ""50%"",
              ""pass"": 0
            },
            ""attempt"": []
          }
        ],
        ""finished"": [],
        ""passed"": [],
        ""failed"": [
          {
            ""id"": 481,
            ""result"": ""33.33%"",
            ""graduation"": ""failed"",
            ""start_time"": ""2022-02-23T04:45:15"",
            ""end_time"": ""2022-02-23T05:15:14"",
            ""data"": {
              ""questions"": {
                ""482"": {
                  ""answered"": ""ca10da4d"",
                  ""correct"": true,
                  ""mark"": 1,
                  ""explanation"": """",
                  ""options"": [
                    {
                      ""title"": ""[TRUE] - Mehercule sciant fusi facit habent ea actionemque aliqui oritur attende omnibus sin haberem cupiditates in"",
                      ""value"": ""ca10da4d"",
                      ""is_true"": ""yes"",
                      ""uid"": 500
                    },
                    {
                      ""title"": ""Multum constituta rhetoribus dogmata generis amor vitium quid reprehendo locuples utroque"",
                      ""value"": ""5a6ecfff"",
                      ""is_true"": ""no"",
                      ""uid"": 501
                    }
                  ]
                },
                ""483"": {
                  ""answered"": """",
                  ""correct"": false,
                  ""mark"": 0,
                  ""explanation"": """",
                  ""options"": [
                    {
                      ""title"": ""Uterque ames pedes gerendarum tubulus consuetudinem clamores humano inanitas pudoris certum vite censet scaevola voluptates"",
                      ""value"": ""86dd6e9a"",
                      ""is_true"": ""no"",
                      ""uid"": 502
                    },
                    {
                      ""title"": ""[TRUE] - Dustmata pervenit traduceret sententiae vultus iacere squilla die singulis dubitant dicit efficitur lectulis relinquunt"",
                      ""value"": ""1eb27a00"",
                      ""is_true"": ""yes"",
                      ""uid"": 503
                    }
                  ]
                },
                ""484"": {
                  ""answered"": """",
                  ""correct"": false,
                  ""mark"": 0,
                  ""explanation"": """",
                  ""options"": [
                    {
                      ""title"": ""Stuprata aristonem tribunus autem appellocommunia expectoque tubuli callipho natos apparet iustitia brevem diximus"",
                      ""value"": ""93fa60f6"",
                      ""is_true"": ""no"",
                      ""uid"": 504
                    },
                    {
                      ""title"": ""Accesseris consectetur t virtutibus humano mnesarchum primisque vellentne disputationibus existimoad tenebris tarentum probabis"",
                      ""value"": ""62dc118e"",
                      ""is_true"": ""no"",
                      ""uid"": 505
                    },
                    {
                      ""title"": ""[TRUE] - Mendicus gratiam dixeras praetermittentium persecuti probitate iudicare pugnat magnum simus relinquo"",
                      ""value"": ""99cc2734"",
                      ""is_true"": ""yes"",
                      ""uid"": 506
                    }
                  ]
                }
              },
              ""mark"": 3,
              ""user_mark"": 1,
              ""question_count"": 3,
              ""question_empty"": 2,
              ""question_answered"": 1,
              ""question_wrong"": 0,
              ""question_correct"": 1,
              ""status"": """",
              ""result"": 33.329999999999998,
              ""time_spend"": ""00:19:59"",
              ""passing_grade"": ""50%"",
              ""pass"": 0
            },
            ""attempt"": []
          }
        ],
        ""in-progress"": []
      }
    },
    ""orders"": {
      ""title"": ""Orders"",
      ""slug"": ""orders"",
      ""priority"": 25,
      ""icon"": ""<i class=\""fas fa-shopping-cart\""><\/i>"",
      ""content"": {
        ""506"": {
          ""order_key"": ""#0000000506"",
          ""total"": ""0"",
          ""currency"": ""USD"",
          ""status"": ""completed"",
          ""date"": ""2022-02-15T00:00:00""
        }
      }
    },
    ""order-details"": {
      ""title"": ""Order details"",
      ""slug"": ""order-details"",
      ""priority"": 30,
      ""icon"": """",
      ""content"": """"
    },
    ""settings"": {
      ""title"": ""Settings"",
      ""slug"": ""settings"",
      ""priority"": 35,
      ""icon"": ""<i class=\""fas fa-cog\""><\/i>"",
      ""content"": """",
      ""section"": {
        ""basic-information"": {
          ""title"": ""General"",
          ""slug"": ""basic-information"",
          ""priority"": 10
        },
        ""avatar"": {
          ""title"": ""Avatar"",
          ""slug"": ""avatar"",
          ""priority"": 20
        },
        ""change-password"": {
          ""title"": ""Password"",
          ""slug"": ""change-password"",
          ""priority"": 30
        }
      }
    },
    ""logout"": {
      ""title"": ""Logout"",
      ""slug"": ""lp-logout"",
      ""priority"": 40,
      ""icon"": ""<i class=\""fas fa-sign-out-alt\""><\/i>"",
      ""content"": """"
    }
  },
  ""avatar_url"": ""http:\/\/learnpress4.local\/wp-content\/uploads\/\/learn-press-profile\/1\/09f80270b918ba767aaa89e63d6bee9d.jpeg"",
  ""avatar_size"": {
    ""width"": ""250"",
    ""height"": ""250""
  },
  ""instructor_data"": {
    ""enrolled_courses"": 0,
    ""completed_courses"": 0,
    ""courses"": 3,
    ""students"": 1
  },
  ""custom_register"": [],
  ""social"": {
    ""facebook"": """",
    ""twitter"": """",
    ""youtube"": """",
    ""linkedin"": """"
  },
  ""meta"": [],
  ""is_super_admin"": true,
  ""woocommerce_meta"": {
    ""activity_panel_inbox_last_read"": """",
    ""activity_panel_reviews_last_read"": """",
    ""categories_report_columns"": """",
    ""coupons_report_columns"": """",
    ""customers_report_columns"": """",
    ""orders_report_columns"": """",
    ""products_report_columns"": """",
    ""revenue_report_columns"": """",
    ""taxes_report_columns"": """",
    ""variations_report_columns"": """",
    ""dashboard_sections"": """",
    ""dashboard_chart_type"": """",
    ""dashboard_chart_interval"": """",
    ""dashboard_leaderboard_rows"": """",
    ""homepage_layout"": """",
    ""homepage_stats"": """",
    ""task_list_tracked_started_tasks"": """",
    ""help_panel_highlight_shown"": """",
    ""android_app_banner_dismissed"": """"
  },
  ""_links"": {
    ""self"": [
      {
        ""href"": ""http:\/\/learnpress4.local\/wp-json\/learnpress\/v1\/users\/1""
      }
    ],
    ""collection"": [
      {
        ""href"": ""http:\/\/learnpress4.local\/wp-json\/learnpress\/v1\/users""
      }
    ]
  }
}"