| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vikunja.API.Testing
Contents
Description
Synopsis
Operations
Testing
testTablePatch
Arguments
| :: Table | "table" - The table to reset |
| -> VikunjaRequest TestTablePatch MimeNoContent [UserUser] MimeJSON |
PATCH /test/{table}Reset the db to a defined state
Fills the specified table with the content provided in the payload. You need to enable the testing endpoint before doing this and provide the `Authorization: token` secret when making requests to this endpoint. See docs for more details.
data TestTablePatch Source #
Instances
| Produces TestTablePatch MimeJSON Source # | application/json |
Defined in Vikunja.API.Testing | |