packages feed

avers-api 0.0.17.2 → 0.0.18.0

raw patch · 3 files changed

+1/−31 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Avers.API: SignupBody :: SignupBody
- Avers.API: SignupResponse :: SignupResponse
- Avers.API: data SignupBody
- Avers.API: data SignupResponse
- Avers.API: type Signup = "signup" :> (ReqBody '[JSON] SignupBody :> Post '[JSON] SignupResponse)
- Avers.API: type AversAPI = CreateObject :<|> (LookupObject :<|> (PatchObject :<|> (DeleteObject :<|> (LookupPatch :<|> (ObjectChanges :<|> (CreateRelease :<|> (LookupRelease :<|> (LookupLatestRelease :<|> (Feed :<|> (ChangeSecret :<|> (CreateSession :<|> (LookupSession :<|> (DeleteSession :<|> (UploadBlob :<|> (LookupBlob :<|> (LookupBlobContent :<|> Signup))))))))))))))))
+ Avers.API: type AversAPI = CreateObject :<|> (LookupObject :<|> (PatchObject :<|> (DeleteObject :<|> (LookupPatch :<|> (ObjectChanges :<|> (CreateRelease :<|> (LookupRelease :<|> (LookupLatestRelease :<|> (Feed :<|> (ChangeSecret :<|> (CreateSession :<|> (LookupSession :<|> (DeleteSession :<|> (UploadBlob :<|> (LookupBlob :<|> LookupBlobContent)))))))))))))))

Files

avers-api.cabal view
@@ -1,5 +1,5 @@ name:                avers-api-version:             0.0.17.2+version:             0.0.18.0 synopsis:            Types describing the core and extended Avers APIs description:         See README homepage:            http://github.com/wereHamster/avers-api
src/Avers/API.hs view
@@ -23,7 +23,6 @@     , UploadBlob     , LookupBlob     , LookupBlobContent-    , Signup      , CacheValidationToken, Cacheable @@ -174,16 +173,7 @@     :> Credentials     :> Get '[OctetStream] (Headers '[Header "Content-Type" Text] BlobContent) --- | Similar to CreateObject but no authorization is required. Instead,--- a different mechanism is used to ensure that the client is allowed--- to execute the action (eg. an captcha).-type Signup-    = "signup"-    :> ReqBody '[JSON] SignupBody-    :> Post '[JSON] SignupResponse -- -------------------------------------------------------------------------------- -- | The complete Avers API as a data type. @@ -205,4 +195,3 @@     :<|> UploadBlob     :<|> LookupBlob     :<|> LookupBlobContent-    :<|> Signup
src/Avers/API/Types.hs view
@@ -293,22 +293,3 @@         , "size" .= lbrSize x         , "contentType" .= lbrContentType x         ]--------------------------------------------------------------------------------------- Signup--data SignupBody = SignupBody-    {-    } deriving (Generic)--instance FromJSON SignupBody where-    parseJSON = undefined--data SignupResponse = SignupResponse-    {-    } deriving (Generic)--instance ToJSON SignupResponse where-    toJSON = undefined