專案

一般

個人檔案

動作

我的帳戶

/my/account.:format

GET

傳回您的帳戶詳細資訊。

範例:

GET /my/account.xml
GET /my/account.json

回應:

<?xml version="1.0" encoding="UTF-8"?>
<user>
  <id>3</id>
  <login>dlopper</login>
  <admin>false</admin>
  <firstname>Dave</firstname>
  <lastname>Lopper</lastname>
  <mail>dlopper@somenet.foo</mail>
  <created_on>2006-07-19T17:33:19Z</created_on>
  <last_login_on>2020-06-14T13:03:34Z</last_login_on>
  <api_key>c308a59c9dea95920b13522fb3e0fb7fae4f292d</api_key>
  <custom_fields type="array">
    <custom_field id="4" name="Phone number">
      <value/>
    </custom_field>
    <custom_field id="5" name="Money">
      <value/>
    </custom_field>
  </custom_fields>
</user>

PUT

更新您的帳戶。

待辦事項

Go MAEDA 更新於 大約 4 年 前 · 2 個版本