annotation_specs list_history¶
Description¶
アノテーション仕様の履歴一覧を出力します。
出力結果¶
JSON出力¶
$ annofabcli annotation_specs list_history --project_id prj1 --format pretty_json --output out.json
out.json¶
[
{
"history_id": "1609907377",
"project_id": "prj1",
"updated_datetime": "2021-01-06T13:29:37.612+09:00",
"url": "https://annofab.com/projects/...",
"account_id": "account1",
"comment": null,
"user_id": "user1",
"username": "username1"
},
...
]
Usage Details¶
アノテーション仕様の変更履歴を表示する。
usage: annofabcli annotation_specs list_history [-h] [--yes]
[--endpoint_url ENDPOINT_URL]
[--logdir LOGDIR]
[--disable_log] [--debug] -p
PROJECT_ID
[-f {csv,json,pretty_json}]
[-o OUTPUT]
[--csv_format CSV_FORMAT]
[-q QUERY]
Named Arguments¶
- -p, --project_id
対象のプロジェクトのproject_idを指定します。
- -f, --format
Possible choices: csv, json, pretty_json
出力フォーマットを指定します。
Default: "csv"
- -o, --output
出力先のファイルパスを指定します。未指定の場合は、標準出力に出力されます。
- --csv_format
CSVのフォーマットをJSON形式で指定します。
--format
がcsv
でないときは、このオプションは無視されます。file://
を先頭に付けると、JSON形式のファイルを指定できます。 指定した値はpandas.DataFrame.to_csv
の引数として渡されます。- -q, --query
JMESPath形式で指定します。出力結果の抽出や、出力内容の変更に利用できます。
global optional arguments¶
- --yes
処理中に現れる問い合わせに対して、常に
yes
と回答します。- --endpoint_url
Annofab WebAPIのエンドポイントを指定します。
Default: "https://annofab.com"
- --logdir
ログファイルを保存するディレクトリを指定します。
Default: .log
- --disable_log
ログを無効にします。
- --debug
HTTPリクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。