Expertise: getById

Expertise: getById

通过用户ID,获取指定用户的专长列表。

Request

HTTP request

GET https://www.featapi.com/api/user/expertise/{id}/

Parameters

Path parameters

Parameter nameValueDescription
idstring用户ID

Authorization

该请求需要授权以下scopes访问权限:

Scopes
user_expertise

For more information, see the authentication and authorization page.

Request body

无需提交请求体信息。

Response

如果请求成功,根据path参数指定的用户ID,该API返回指定用户的User.Expertise专长列表在响应体信息。

200 Returns list of Expertise successfully

{
  "data":[
      {
          "id":51,
          "user":9716362343737,
          "username":"潘 丽达",
          "name":"还原犯罪案发现场、凶案推理",
          "applications":[{"label":"私人侦探"},{"label":"刑事侦查案件;"},{"label":"谋杀案"},{"label":"刑事案件"}],
          "currency":"CNY",
          "profession_categories":[{"name":"凶杀科专家"}],"is_primary":false,
          "create_time":"2018-11-16T22:21:22Z",
          "available_services":[
              {"type":100,"price":"60.00","unit":100,"is_available":true,"converted_currency":"USD","converted_price":"8.72"},
              {"type":200,"price":"100.00","unit":100,"is_available":true,"converted_currency":"USD","converted_price":"14.54"},
              {"type":300,"price":"90.00","unit":100,"is_available":true,"converted_currency":"USD","converted_price":"13.09"}],
      }
  ]    
}

404 Not found

示例返回数据可参考 API Common – Resource Not Found

发表评论

您的电子邮箱地址不会被公开。

您可以使用以下 HTML标签和属性:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Captcha Code