% !TEX encoding = IsoLatin

All the resources are under the root folder \code{api/}

\begin{table}[H]
	\centering
	\resizebox{\textwidth}{!}{
		\renewcommand{\arraystretch}{1.3}
		
		\begin{tabular}{V{3}p{3cm}|p{1.8cm}|p{6cm}|p{8cm}V{3}}
			\thickHline
			\rowcolor{Gray}
			Resource & Method & Path & Description \\
			\thickHline
			
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			
			\multirow{7}{*}{\code{Deployment}} & \hget & /deployment & Read physical topology informations \\
			\cline{2-4}
	
			& \hget & /deployment/\{IP\} & Read a physical host informations \\		
			\cline{2-4}
			
			& \hget & /deployment/\{IP\}/\{label\} & Read a virtual switch informations \\		
			\cline{2-4}
			
			& \hget & /deployment/\{IP\}/\{label\}/\{nodeIP\} & Read a service node informations \\		
			\cline{2-4}
			
			& \hpost & /deployment & Load physical topology structure \\		
			\cline{2-4}
			
			& \hput & /deployment/\{IP\}/\{label\}/\{nodeIP\} & Update or create a service node \\		
			\cline{2-4}
			
			& \hdelete & /deployment/\{IP\}/\{label\}/\{nodeIP\} & Delete an existing service node \\		
		
			\thickHline
			
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			
			\multirow{8}{*}{\code{Landscape}} & \hget & /landscape & Read logical topology informations \\
			\cline{2-4}
			
			& \hget & /landscape/\{nodeIP\} & Read a service node informations \\		
			\cline{2-4}
			
			& \hget & /landscape/\{nodeIP\}/\{port\} & Read a service informations \\		
			\cline{2-4}
			
			& \hpost & /landscape & Load logical topology structure \\		
			\cline{2-4}
			
			& \hput & /landscape/\{nodeIP\} & Update or create a service node \\		
			\cline{2-4}
			
			& \hput & /landscape/\{nodeIP\}/\{port\} & Update or create a service \\		
			\cline{2-4}
			
			& \hdelete & /landscape/\{nodeIP\} & Delete an existing service node \\
			\cline{2-4}
			
			& \hdelete & /landscape/\{IP\}/\{port\} & Delete an existing service  \\		
			
			\thickHline
			
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			
			\multirow{8}{*}{\code{Entities}} & \hget & /entities & Read entities informations \\
			\cline{2-4}
			
			& \hget & /entities/\{label\} & Read an entity informations \\		
			\cline{2-4}
			
			& \hget & /entities/\{label\}/\{rulelabel\} & Read a filtering rule informations \\		
			\cline{2-4}
			
			& \hpost & /entities & Load entities structure \\		
			\cline{2-4}
			
			& \hput & /entities/\{label\} & Update or create an entity \\		
			\cline{2-4}
			
			& \hput & /entities/\{label\}/\{rulelabel\} & Update or create a filtering rule \\		
			\cline{2-4}
			
			& \hdelete & /entities/\{label\} & Delete an existing entity \\
			\cline{2-4}
			
			& \hdelete & /entities/\{label\}/\{rulelabel\} & Delete an existing filtering rule  \\		
			
			\thickHline
			
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			
			\multirow{5}{*}{\code{FilteringPoints}} & \hget & /filteringpoints & Read middleboxes and exclusions informations \\
			\cline{2-4}
			
			& \hpost & /filteringpoints & Load middleboxes and exclusions structure \\		
			\cline{2-4}
			
			& \hput & /filteringpoints/middleboxes/\{nodeIP\} & Add a service node to the middleboxes list \\		
			\cline{2-4}
			
			& \hdelete & /filteringpoints/exclusions/\{id\} & Add an element to the exclusions list \\
			\cline{2-4}
			
			& \hdelete & /filteringpoints/middleboxes/\{nodeIP\} & Remove a service node to the middleboxes list  \\		
			
			\thickHline
			
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			
			\multirow{2}{*}{\code{SelectorTypes}} & \hget & /selectors & Read selector types informations \\
			\cline{2-4}
			
			& \hpost & /selectors & Load selector types structure \\		
			\cline{2-4}
						
			\thickHline
			
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			
			\multirow{3}{*}{\code{Tool}} & \hget & /tool/output & Read distribution outcome informations \\
			\cline{2-4}
			
			& \hoptions & /tool/start & Starts rule distribution procedure \\		
			\cline{2-4}
			
			& \hoptions & /tool/stop & Starts tool shutdown procedure \\		
			\cline{2-4}
			
			\thickHline
			
			

			
	\end{tabular}}
	\caption{Available REST APIs}
	\label{tab:rest-apis}
\end{table}