次のユース ケースを REST 形式で照会する独自の方法を探しています。
リポジトリに次のものが含まれていると仮定します:-
a. green color ball image of 1cm radius
b. yellow color ball image of 1cm radius
c. blue color ball image of 1cm radius
d. green color ball image of 2cm radius
e. yellow color ball image of 2cm radius
f. blue color ball image of 2cm radius
g. computer monitor icon image of size 32x32 pixels in png format
h. computer monitor icon image of size 64x64 pixels in png format
i. computer monitor icon image of size 32x32 pixels in ico format
j. computer monitor icon image of size 64x64 pixels in ico format
k. HR travel policy
l. HR new hire policy
g. HR promotion policy
1. Find all documents published after a certain date?
2. Find all documents published before a certain date?
3. Find all documents published between a certain set of dates?
4. Find all balls which are 1cm in radius
5. Find all documents whose download format is "png"
6. Find all documents whose size is 32x32 pixels
7. Find all balls which are green in color.
当社のストレージ リポジトリは、Google Storage、Amazon S3、Mongodb GridFS、Java コンテンツ リポジトリ (JCR 2.0)、または単純なファイル システムに基づくことができます。
上記のデータを保存および取得する理想的な方法は何でしょうか。上記のユース ケース [1-6] のいずれかをモデル化できるように、REST URL をできるだけ表現力豊かにしたいと考えています。上記のクエリに基づいてドキュメントを取得するために適切な命名規則を使用できるように、汎用リポジトリを設計する方法についての指針を感謝します。