校異源氏物語テキストDBのDTS(Distributed Text Services) APIの更新
概要 校異源氏物語テキストDBのDTS(Distributed Text Services) APIを更新したので、備忘録です。 背景 DTS(Distributed Text Services) APIは以下で説明されています。 https://distributed-text-services.github.io/specifications/ 以下の記事で、DTS APIの作成について紹介しました。 一方、以下を課題としていました。 今回開発したDTS APIも上記のガイドラインに非対応の箇所がある可能性がある点にご注意ください。 そこで、前回作成したAPIをv1とし、今回はdtsVersionの1-alphaに従ったv2のAPIを作成します。 API 以下がEntry Endpointです。v1とv2の違いは以下です。 v1 https://dts-typescript.vercel.app/api/v1/dts { } " " " " " " n @ @ c @ d a i t o c o v d y l o c i " p l n u g : e e t m a " c e e t " : t x n i i t t a " o " s n p E n : " " i n s : : / t " " v r : d " " 1 y t / / / P " s a a d o / / p p t i a E i i s n p n / / " t i t v v , " / r 1 1 , v y / / 1 P d d / o t t d i s s t n / / s t d n / . o a c j c v o s u i l o m g l n e a e l n t c d t i t " " o i , n o " n , s " , v2 https://dts-typescript.vercel.app/api/v2/dts ...