Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ][feature] 更新系APIで最終更新日を自動で取得するヘルパー #150

Open
exoego opened this issue Mar 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@exoego
Copy link
Contributor

exoego commented Mar 26, 2020

Is your feature request related to a problem? Please describe.

AnnoFab の更新系APIは、リソースの「更新前の最終更新日」を必要としています。
https://annofab.com/docs/api/#section/API-Convention/API

API で何か更新するスクリプトを書くときに、毎回 GET して最終更新日を書くのは手間です。
また、もし GET してリソースがまだ作成されていないときには 404 エラーが発生するので、新規作成と更新を両方区別して実装する手間があります。

Describe the solution you'd like

先に書いたようなGET系APIと更新系APIを組み合わせることで、「APIユーザーが最終更新日を意識せずに使える」ような高レベルのAPIがあると、APIを使ったスクリプトが作りやすくなると思います。

更新系のAPIは多数ありますが、データ移行やシステム連携などでよく使いそうな以下 API だけでも高レベルAPIがあると、使いやすくなりそうです。

  • putAnnotation
  • putInputData
  • putTask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant