Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype DocumentsFromWriteNodesAPI mode = DocumentsFromWriteNodesAPI {}
- newtype DocumentUploadAPI mode = DocumentUploadAPI {}
- newtype DocumentExportAPI mode = DocumentExportAPI {
- documentExportAPI :: mode :- (Summary "Document Export" :> ("export" :> (("json" :> Get '[JSON] (Headers '[Header "Content-Disposition" Text] DocumentExport)) :<|> (("json.zip" :> Get '[ZIP] (Headers '[Header "Content-Disposition" Text] DocumentExportZIP)) :<|> ("csv" :> Get '[PlainText] (Headers '[Header "Content-Disposition" Text] Text))))))
- data Params = Params {}
- data DocumentUpload = DocumentUpload {
- _du_abstract :: Text
- _du_authors :: Text
- _du_sources :: Text
- _du_title :: Text
- _du_date :: Text
- _du_language :: Text
- du_title :: Lens' DocumentUpload Text
- du_sources :: Lens' DocumentUpload Text
- du_language :: Lens' DocumentUpload Text
- du_date :: Lens' DocumentUpload Text
- du_authors :: Lens' DocumentUpload Text
- du_abstract :: Lens' DocumentUpload Text
Routes types
newtype DocumentsFromWriteNodesAPI mode #
Instances
Generic (DocumentsFromWriteNodesAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Document type Rep (DocumentsFromWriteNodesAPI mode) :: Type -> Type # from :: DocumentsFromWriteNodesAPI mode -> Rep (DocumentsFromWriteNodesAPI mode) x # to :: Rep (DocumentsFromWriteNodesAPI mode) x -> DocumentsFromWriteNodesAPI mode # | |
type Rep (DocumentsFromWriteNodesAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Document type Rep (DocumentsFromWriteNodesAPI mode) = D1 ('MetaData "DocumentsFromWriteNodesAPI" "Gargantext.API.Routes.Named.Document" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "DocumentsFromWriteNodesAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "docFromWriteNodesEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (Summary " Documents from Write nodes." :> AsyncJobs JobLog '[JSON] Params JobLog))))) |
newtype DocumentUploadAPI mode #
Instances
Generic (DocumentUploadAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Document type Rep (DocumentUploadAPI mode) :: Type -> Type # from :: DocumentUploadAPI mode -> Rep (DocumentUploadAPI mode) x # to :: Rep (DocumentUploadAPI mode) x -> DocumentUploadAPI mode # | |
type Rep (DocumentUploadAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Document type Rep (DocumentUploadAPI mode) = D1 ('MetaData "DocumentUploadAPI" "Gargantext.API.Routes.Named.Document" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "DocumentUploadAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadDocAsyncEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (Summary " Document upload" :> ("document" :> ("upload" :> ("async" :> AsyncJobs JobLog '[JSON] DocumentUpload JobLog)))))))) |
newtype DocumentExportAPI mode #
DocumentExportAPI | |
|
Instances
Generic (DocumentExportAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Document type Rep (DocumentExportAPI mode) :: Type -> Type # from :: DocumentExportAPI mode -> Rep (DocumentExportAPI mode) x # to :: Rep (DocumentExportAPI mode) x -> DocumentExportAPI mode # | |
type Rep (DocumentExportAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Document |
API types
data DocumentUpload #
DocumentUpload | |
|