このページで
Tokenオブジェクト
次のオブジェクトは、tokenAPIに直接関連しています。
トークン
トークンオブジェクトには、以下のプロパティがあります。
| Property | Type | Description |
|---|---|---|
| tokenid | ID | トークンのID。 Property behavior: - read-only - 更新操作で required |
| name | string | トークンの名前。 Property behavior: - 作成操作で required |
| description | text | トークンの説明。 |
| userid | ID | トークンが割り当てられているユーザーのID。 デフォルト: current user。 Property behavior: - constant |
| lastaccess | timestamp | トークンが最後に認証された日時。 トークンが一度も認証されていない場合は "0"。 Property behavior: - read-only |
| status | integer | トークンのステータス。 指定可能な値: 0 - (デフォルト) 有効なトークン; 1 - 無効なトークン。 |
| expires_at | timestamp | トークンの有効期限の日時。 有効期限のないトークンの場合は "0"。 |
| created_at | timestamp | トークンの作成日時。 Property behavior: - read-only |
| creator_userid | ID | トークンを作成したユーザーのID。 Property behavior: - read-only |