toggle menu
Joyfill
2.0.0-RC8
common
switch theme
search in API
legacy-api
/
joyfill
/
DocumentsApi
Documents
Api
interface
DocumentsApi
Members
Functions
create
Link copied to clipboard
abstract
fun
create
(
document
:
Document
)
:
Later
<
Document
>
Create a raw document
delete
Link copied to clipboard
abstract
fun
delete
(
identifier
:
String
)
:
Later
<
String
>
Delete a document
list
Link copied to clipboard
abstract
fun
list
(
limit
:
Int
=
DEFAULT_LIMIT
,
page
:
Int
=
1
,
template
:
String
?
=
null
,
group
:
String
?
=
null
,
stage
:
JoyStage
=
JoyStage.published
)
:
Later
<
List
<
Document
>
>
Get documents
update
Link copied to clipboard
abstract
fun
update
(
document
:
Document
)
:
Later
<
Document
>
Update a document with new information