:> Capture "node_id" NodeId
:> NodeAPI HyperdataAny
+--{-
-- Corpus endpoints
:<|> "corpus" :> Summary "Corpus endpoint"
:> Capture "corpus_id" CorpusId
:> NodeAPI HyperdataCorpus
+--}
:<|> "corpus" :> Summary "Corpus endpoint"
:> Capture "node1_id" NodeId
:> Export.API
-- Annuaire endpoint
+{-
+ :<|> "contact" :> Summary "Contact endpoint"
+ :> Capture "contact_id" ContactId
+ :> NodeAPI HyperdataContact
+--}
+
:<|> "annuaire" :> Summary "Annuaire endpoint"
:> Capture "annuaire_id" AnnuaireId
:> NodeAPI HyperdataAnnuaire
:<|> "annuaire" :> Summary "Contact endpoint"
:> Capture "annuaire_id" NodeId
:> Contact.API
-
-- Document endpoint
:<|> "document" :> Summary "Document endpoint"
:> Capture "doc_id" DocId
:<|> "lists" :> Summary "List export API"
:> Capture "listId" ListId
:> List.API
-
+{-
:<|> "wait" :> Summary "Wait test"
:> Capture "x" Int
:> WaitAPI -- Get '[JSON] Int
-
+-}
-- /mv/<id>/<id>
-- /merge/<id>/<id>
-- /rename/<id>
:<|> nodeAPI (Proxy :: Proxy HyperdataCorpus) uid
:<|> nodeNodeAPI (Proxy :: Proxy HyperdataAny) uid
:<|> Export.getCorpus -- uid
+ -- :<|> nodeAPI (Proxy :: Proxy HyperdataContact) uid
:<|> nodeAPI (Proxy :: Proxy HyperdataAnnuaire) uid
:<|> Contact.api uid
-- :<|> New.api uid -- TODO-SECURITY
-- :<|> New.info uid -- TODO-SECURITY
:<|> List.api
- :<|> waitAPI
+-- :<|> waitAPI
----------------------------------------------------------------------