my get#
Description#
ログイン中のアカウント情報を出力します。
Examples#
以下のコマンドは、自分自身のアカウント情報を出力します。
$ annoworkcli my get \
--output out.json
out.json#
{
"account_id": "0a998d6f-9b53-4d96-ba89-14edccd9ce0b",
"user_id": "alice",
"username": "Alice",
"email": "alice@example.com",
"locale": "ja-JP",
"authority": "user",
"created_datetime": "2021-10-27T13:55:37.749Z",
"updated_datetime": "2021-10-29T00:46:19.964Z",
"external_linkage_info": {
"annofab": {
"account_id": "00589ed0-dd63-40db-abb2-dfe5e13c8299"
}
}
}
Usage Details#
ログイン中のアカウント情報を出力します。
usage: annoworkcli my get [-h] [--debug] [--annowork_user_id ANNOWORK_USER_ID]
[--annowork_password ANNOWORK_PASSWORD]
[--endpoint_url ENDPOINT_URL] [-o OUTPUT]
Named Arguments#
- -o, --output
出力先
global optional arguments#
- --debug
HTTPリクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。
- --annowork_user_id
Annoworkにログインする際のユーザーIDを指定します。
- --annowork_password
Annoworkにログインする際のパスワードを指定します。
- --endpoint_url
Annowork WebAPIのエンドポイントを指定します。指定しない場合は
https://annowork.comです。