I created an API that returns a list of items containing a specified IIIF manifest in Cultural Japan.
The API documentation is available at the following link.
Swagger UI
Here is an example request.
api.cultural.jp
For the API development, I used express-openapi and deployed it using AWS Lambda, referencing the following article.
express-openapiを試してみた
フォルシアではOpenAPIでAPI定義を書いてから、APIを実装するのが一般的になってきました。APIの実装についてはTypeScriptとexpressを利用することが増えてきている状況です。今回はexpressとOpenAPIをより強固に結びつけるためのモジュールとしてexpress-openapiを見つけたので試してみました。
I hope this serves as a useful reference for utilizing Cultural Japan.




Comments
…