Overview# Canonical Text Services is described as follows:
The Canonical Text Services protocol defines interaction between a client and server providing identification of texts and retrieval of canonically cited passages of texts.
The following site was used as a reference.
http://cts.informatik.uni-leipzig.de/Canonical_Text_Service.html
Usage# The following was used as a reference.
https://github.com/cite-architecture/cts_spec/blob/master/md/specification.md
GetCapabilities# A request to check the services supported by the server.
http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetCapabilities
< G / e < < G t r r / e C e e < r t a q p T / e C p u l e < < < < < < T p a a e y x c c c c c t e l p b s > t o o o o o e < < t x y a i t I r r r r r x g e e t > b l > n p p p p p t r d < < < < < < e x I i i G v u u u u u g o i t l s p l c d t n l t e e s s s s s r u t i i o u a o i g v i i t n l s l n d o p i t c u b n n t r e t e C t i o a a e u n o l e r l g t i o n i s a o c u n m s p a n e n c i u e o u t e p r e r g e c m > s e c a n n p o s x a y n c u > r u e u T e > a g t > > r > m b s e a P i r > r h > h t e T y l i t e > g a p n b n e P t i > y > n l i > h e r t = i = u t o a p s i v P t > a i " b " B b p n r e = t e u t a l o u l u i l : D b > " i r b p r l n r e r b i / a < x h e s l : b e > n < n l c / t / m t s i i / , l T : / : e p e l l t < o c / c h c g c D a > a < p / n p e B e t r t i o r 1 n / : r = D a b i s o s n m a 8 g c / e " o r , b B : u : a l 6 u o / q 5 m a c l i p p p A i l 5 a n r u . a l e e b b n b r n e < g t e e 0 i l s l c a c a < l / e e l s . n e , C e : m : b / t p > n a t r < l c o b e b i l e u t x > c t y r c i > i c i x b T n . c e m p o b b < c t l y g 1 o x , u r l l / e . i p . " r t d s p e e t n i c e o > p . e < u " . i s n a > r u i u / s > p t e f t g s n , c a l > o i / l f e o c r e / o n i o n r o a > d n s c / g p n l a D / e d , u t l t a s n a f s a e a t t s t i n i l / e r e a n a n . > u > / , m s a r c < f e r e t / r > 1 b t u c a 1 . r r o , 6 n i e r i 9 o e / p t r v 1 u a u m e . s , n : d 0 s m i " " o y q > v u a u i x r , e a m c r l e u t C n > s r a s , a n : t n o a g s n = l l i " , a c h u t a t k i l t r o p < n T : / s e / c , x / o t r r w e p h S l u i e a s c r x l h v n a i g n h c . g a e o u v r a e h g g t / e b t n > e p s e : / n / c / o a c m s t p s s a i . t g i i n n b e f i d o l r i 9 m t 0 a y 6 t / i a d k n i . n f u o f n t e i a r - t e l i n e o t i n p s I z / S i 1 O g . - . 0 6 d " 3 e 9 / x - p m 3 b l c n c / s o c : d t t e s e s / i . < = / " T s h h o t i u t s r p c : C e / T > / S w w i w n . s t t e a i n - c c e . o c r o g n / t n a s i / n 1 s . 0 2 " 0 x b m i l b n l s e : d t c r = a " n h s t l t a p t : i / o / n p s u r f l r . o o m r g P / B d C c / t e h l a e t m e a n r t e s / a 1 v . a 1 i / l " a b x l m e l n a s s : t P i u = b " l h i t c t p D : o / m / a c i h n s . . < h / a c r o v r a p r u d s . d e e d s u c / r x i m p l t n i s o / n c > t s " > GetPassage# Retrieves a specific portion of text based on a specified URN (Uniform Resource Name).
http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetPassage&urn=urn:cts:pbc:bible.parallel.eng.kingjames:1.3
< G / e < < G t r / r / e P e < < r e < < < < r t a q r r e p u p l s e P s u e e q l r a i o p a s e q q u y n s c u l s a s u u e > > s e r y s g t e e s u a n c > a e > s s t r g s e g t t > n e e > e x N U : > > h > m a r c N P t l m n t o u t n e > s w b p s > u : l : = G r p t i / " e n b h c / h t : c e p t P c : D a t a t b s o r p s s i e m a : s : b r a l / a p l p i l / g b e e n e r e c . n < l e < : p t / t l / b a l e a r i r w i x x e b a a c t n q l l s e . g u e l n i . e . e m s n o s p l o e f r t a . r > o g N r e e / / a a n d n m l g s a s e l . u t / > e k b a s l i t / t . n i r e g l r u n j e c g a t t t . m h r u k e a i r i s n e e n : v / g 1 a e 1 j . n d . a 3 y 0 m < v " e / b i s u e a x : r a m 1 n s C l . > t a n 3 n s < o o : / f n a r i = e t c " q h a h u e l t e t s f T p t i e : U e x / r l t / n d r > S e w e l h r a i v x c i n h c g e . t o h h r e t g t / L p n O : s R / / D / c c o G t m o s p d . a i t h n i a f b d o i r l m m i a a t d t y e i / k a . n u n n o i t / - a p l t a e i s i o s p n a z s g i / e g 1 > . . d 0 e " / p x b m c l / n c s t : s t / e i w = i " t h h t t C p T : S / / U w R w N w . u t r e n i : - c c t . s o : r p g b / c n : s b / i 1 b . l 0 e " . > p a r a l l e l . e n g . k i n g j a m e s : 1 . 3 < / s o u r c e > GetPassagePlus# Similar to GetPassage, but also retrieves additional metadata (such as bibliographic information).
http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetPassagePlus&urn=urn:cts:pbc:bible.parallel.eng.kingjames:1.3
The response includes additional information such as label, groupname, prevnext navigation, and reff (list of citable sub-passages).
GetValidReff# Retrieves a list of valid references within a specified range for a particular text.
http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetValidReff&urn=urn:cts:pbc:bible.parallel.eng.kingjames:&level=1
The response returns a list of URNs for each valid reference at the specified level.
GetFirstUrn# http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetFirstUrn&urn=urn:cts:pbc:bible.parallel.eng.kingjames:
Returns the first URN in the text.
GetPrevNextUrn# http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetPrevNextUrn&urn=urn:cts:pbc:bible.parallel.eng.kingjames:1
Returns the previous and next URNs relative to the specified passage.
GetLabel# http://cts.informatik.uni-leipzig.de/pbc/cts/?request=GetLabel&urn=urn:cts:pbc:bible.parallel.eng.kingjames:1
Returns the label (human-readable title) for the specified passage.
Summary# There may be other request methods available, but we hope this serves as a useful reference.