Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ShareNode mode = ShareNode {}
- newtype Unpublish mode = Unpublish {}
- newtype ShareURL mode = ShareURL {
- shareUrlEp :: mode :- (Summary "Fetch URL for sharing a node" :> (QueryParam "type" NodeType :> (QueryParam "id" NodeId :> Get '[JSON] Text)))
- data ShareNodeParams
- = ShareTeamParams { }
- | SharePublicParams { }
Routes types
Instances
Instances
Generic (Unpublish mode) # | |
type Rep (Unpublish mode) # | |
Defined in Gargantext.API.Routes.Named.Share type Rep (Unpublish mode) = D1 ('MetaData "Unpublish" "Gargantext.API.Routes.Named.Share" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "Unpublish" 'PrefixI 'True) (S1 ('MetaSel ('Just "unpublishEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (Summary " Unpublish Node" :> (Capture "node_id" NodeId :> Put '[JSON] Int)))))) |
ShareURL | |
|
Instances
API types (which appears in the routes)
data ShareNodeParams #