gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.API.Node.Corpus.New

Description

New corpus means either: - new corpus - new data in existing corpus

Synopsis

Documentation

data ApiInfo #

TODO manage several apis TODO-ACCESS TODO this is only the POST

Constructors

ApiInfo 

Fields

Instances

Instances details
Arbitrary ApiInfo # 
Instance details

Defined in Gargantext.API.Node.Corpus.New

FromJSON ApiInfo # 
Instance details

Defined in Gargantext.API.Node.Corpus.New

ToJSON ApiInfo # 
Instance details

Defined in Gargantext.API.Node.Corpus.New

Generic ApiInfo # 
Instance details

Defined in Gargantext.API.Node.Corpus.New

Associated Types

type Rep ApiInfo :: Type -> Type #

Methods

from :: ApiInfo -> Rep ApiInfo x #

to :: Rep ApiInfo x -> ApiInfo #

ToSchema ApiInfo # 
Instance details

Defined in Gargantext.API.Node.Corpus.New

type Rep ApiInfo # 
Instance details

Defined in Gargantext.API.Node.Corpus.New

type Rep ApiInfo = D1 ('MetaData "ApiInfo" "Gargantext.API.Node.Corpus.New" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "ApiInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "api_info") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ExternalAPIs])))

type AddWithQuery = Summary "Add with Query to corpus endpoint" :> ("corpus" :> (Capture "corpus_id" CorpusId :> ("query" :> AsyncJobs JobLog '[JSON] WithQuery JobLog))) #

type AddWithForm = Summary "Add with FormUrlEncoded to corpus endpoint" :> ("corpus" :> (Capture "corpus_id" CorpusId :> ("add" :> ("form" :> ("async" :> AsyncJobs JobLog '[FormUrlEncoded] NewWithForm JobLog))))) #

type AddWithFile = Summary "Add with FileUrlEncoded to corpus endpoint" :> ("corpus" :> (Capture "corpus_id" CorpusId :> ("add" :> ("file" :> ("async" :> AsyncJobs JobLog '[FormUrlEncoded] NewWithFile JobLog))))) #