Skip to content

Commit 07499a9

Browse files
update document for dropbox token
1 parent 8711c8d commit 07499a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.verify-helper/docs/static/document.ja.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ verification_file_suffix = ".test.sed"
113113
| [Library Checker](https://judge.yosupo.jp/) | |
114114
| [Aizu Online Judge](https://onlinejudge.u-aizu.ac.jp/home) | |
115115
| [HackerRank](https://www.hackerrank.com/) | |
116-
| [AtCoder](https://atcoder.jp) | 環境変数 `DROPBOX_TOKEN` の設定が必要です。token の値は `$ oj d --system https://atcoder.jp/contests/agc001/tasks/agc001_a` として表示されるヒントに従って取得してください。 |
116+
| [AtCoder](https://atcoder.jp) | 環境変数 `DROPBOX_TOKEN` の設定が必要です。token の値は `$ oj d --system https://atcoder.jp/contests/agc001/tasks/agc001_a` として表示されるヒントに従って取得してください。<br>(2024.03.16追記)<br>現在ヘルプ通りにはトークンを取得できなくなっています。まず<https://www.dropbox.com/developers/>からAppを作成し、Permissions で `files.metadata.read` と `sharing.read` にチェックをつけます。ここで、generate access token で一時的なトークンを作成し、環境変数`DROPBOX_TOKEN`に設定することができますが、これは短期間で失効してしまうので、再設定が面倒な方は<https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens#updating-access-token-type>を参考に、Refresh Tokenを取得して環境変数`DROPBOX_REFRESH_TOKEN`を、App作成時に出てきたApp KeyとApp Secretをそれぞれ環境変数`DROPBOX_APP_KEY`,`DROPBOX_APP_SECRET`として登録してください。これらを用いて毎回アクセストークンを自動で生成して適用するようになります。 |
117117
| [yukicoder](https://yukicoder.me) | 環境変数 `YUKICODER_TOKEN` の設定が必要です。[ヘルプ - yukicoder](https://yukicoder.me/help) の「ログインしてないと使えない機能をAPIとして使いたい」の節や [暗号化されたシークレットの作成と利用 - GitHub ヘルプ](https://help.github.com/ja/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets) 参考にして設定してください。 |
118118

119119
これらの他サービスはテストケースを利用できる形で公開してくれていないため利用できません。

.verify-helper/docs/static/document.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ verification_file_suffix = ".test.sed"
112112
| [Library Checker](https://judge.yosupo.jp/) | |
113113
| [Aizu Online Judge](https://onlinejudge.u-aizu.ac.jp/home) | |
114114
| [HackerRank](https://www.hackerrank.com/) | |
115-
| [AtCoder](https://atcoder.jp) | You must set the `DROPBOX_TOKEN` environment variable. You can obtain the token by following the HINT message shown by `$ oj d --system https://atcoder.jp/contests/agc001/tasks/agc001_a`. |
115+
| [AtCoder](https://atcoder.jp) | You must set the `DROPBOX_TOKEN` environment variable. You can obtain the token by following the HINT message shown by `$ oj d --system https://atcoder.jp/contests/agc001/tasks/agc001_a`. <br>(Added on 2024.03.16)<br>Currently, obtaining tokens according to the help is not possible. First, create an App from <https://www.dropbox.com/developers/>, and check files.metadata.read and sharing.read under Permissions. Here, you can generate a temporary token by clicking on "generate access token" and set it to the environment variable `DROPBOX_TOKEN`. However, since this token expires after a short period, for those who find reconfiguration troublesome, please refer to <https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens#updating-access-token-type> to obtain a Refresh Token and set it to the environment variable `DROPBOX_REFRESH_TOKEN`, and register the App Key and App Secret obtained during App creation as environment variables `DROPBOX_APP_KEY` and `DROPBOX_APP_SECRET`, respectively. By using these, an access token will be automatically generated and applied each time.|
116116
| [yukicoder](https://yukicoder.me) | You must set the `YUKICODER_TOKEN` environment variable. See 「ログインしてないと使えない機能をAPIとして使いたい」 in [ヘルプ - yukicoder](https://yukicoder.me/help) and [Creating and using encrypted secrets - GitHub Help](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets). |
117117

118118
Other judging platforms do not currently publish the test cases in usable forms, and so are not currently supported.

0 commit comments

Comments
 (0)