Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
a3caa26a
Commit
a3caa26a
authored
Apr 07, 2021
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEAN/API] removing unused route
parent
32246950
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Routes.hs
src/Gargantext/API/Routes.hs
+2
-4
No files found.
src/Gargantext/API/Routes.hs
View file @
a3caa26a
...
@@ -95,12 +95,10 @@ type GargPrivateAPI' =
...
@@ -95,12 +95,10 @@ type GargPrivateAPI' =
:>
Capture
"node_id"
NodeId
:>
Capture
"node_id"
NodeId
:>
NodeAPI
HyperdataAny
:>
NodeAPI
HyperdataAny
--{-
-- Corpus endpoints
-- Corpus endpoints
:<|>
"corpus"
:>
Summary
"Corpus endpoint"
:<|>
"corpus"
:>
Summary
"Corpus endpoint"
:>
Capture
"corpus_id"
CorpusId
:>
Capture
"corpus_id"
CorpusId
:>
NodeAPI
HyperdataCorpus
:>
NodeAPI
HyperdataCorpus
--}
:<|>
"corpus"
:>
Summary
"Corpus endpoint"
:<|>
"corpus"
:>
Summary
"Corpus endpoint"
:>
Capture
"node1_id"
NodeId
:>
Capture
"node1_id"
NodeId
...
@@ -154,7 +152,7 @@ type GargPrivateAPI' =
...
@@ -154,7 +152,7 @@ type GargPrivateAPI' =
-- :<|> New.Upload
-- :<|> New.Upload
:<|>
New
.
AddWithForm
:<|>
New
.
AddWithForm
:<|>
New
.
AddWithFile
--
:<|> New.AddWithFile
:<|>
New
.
AddWithQuery
:<|>
New
.
AddWithQuery
-- :<|> "annuaire" :> Annuaire.AddWithForm
-- :<|> "annuaire" :> Annuaire.AddWithForm
...
@@ -233,7 +231,7 @@ serverPrivateGargAPI' (AuthenticatedUser (NodeId uid))
...
@@ -233,7 +231,7 @@ serverPrivateGargAPI' (AuthenticatedUser (NodeId uid))
<$>
PathNode
<*>
treeAPI
<$>
PathNode
<*>
treeAPI
-- TODO access
-- TODO access
:<|>
addCorpusWithForm
(
RootId
(
NodeId
uid
))
:<|>
addCorpusWithForm
(
RootId
(
NodeId
uid
))
:<|>
addCorpusWithFile
(
RootId
(
NodeId
uid
))
--
:<|> addCorpusWithFile (RootId (NodeId uid))
:<|>
addCorpusWithQuery
(
RootId
(
NodeId
uid
))
:<|>
addCorpusWithQuery
(
RootId
(
NodeId
uid
))
-- :<|> addAnnuaireWithForm
-- :<|> addAnnuaireWithForm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment