Strapi
App · 11 actions
Manage Strapi v5 collection documents, single types and media files.
Actions
| Action | What it does |
|---|---|
| Create document | Create document. |
| Delete document | Delete document. |
| Delete file | Delete file. |
| Delete single type | Delete single type. |
| Get document | Get document. |
| Get file | Get file. |
| Get single type | Get single type. |
| List documents | List documents. |
| List files | List files. |
| Update document | Update document. |
| Update single type | Update single type. |
Create document
Create document.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Fields
fieldsobjectRequired - Content fields defined in your Strapi site. Supply names and values using its content-type schema.
- Locale
localetext - Locale for this request.
- Status
statustext - Status for this request.One of:
draft,published.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Delete document
Delete document.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Document ID
document_idtextRequired - Document id for this request.
- Locale
localetext - Locale for this request.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Delete file
Delete file.
Inputs
- Id
idtextRequired - Id for this request.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Delete single type
Delete single type.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Locale
localetext - Locale for this request.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get document
Get document.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Document ID
document_idtextRequired - Document id for this request.
- Locale
localetext - Locale for this request.
- Status
statustext - Status for this request.One of:
draft,published.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get file
Get file.
Inputs
- Id
idtextRequired - Id for this request.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get single type
Get single type.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Locale
localetext - Locale for this request.
- Status
statustext - Status for this request.One of:
draft,published.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List documents
List documents.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Locale
localetext - Locale for this request.
- Status
statustext - Status for this request.One of:
draft,published. - Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 100.
- Sort
sorttext - Sort for this request.
- Populate
populatetext - Populate for this request.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {
"data": []
},
"has_more": false,
"next_cursor": null
}List files
List files.
Inputs
None.
Outputs
Value.
datalist- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": [],
"has_more": false,
"next_cursor": null
}Update document
Update document.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Document ID
document_idtextRequired - Document id for this request.
- Fields
fieldsobjectRequired - Content fields defined in your Strapi site. Supply names and values using its content-type schema.
- Locale
localetext - Locale for this request.
- Status
statustext - Status for this request.One of:
draft,published.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Update single type
Update single type.
Inputs
- Content type
content_typetextRequired - API ID shown for this content type in Strapi: plural for a collection and singular for a single type.
- Fields
fieldsobjectRequired - Content fields defined in your Strapi site. Supply names and values using its content-type schema.
- Locale
localetext - Locale for this request.
- Status
statustext - Status for this request.One of:
draft,published.
Outputs
Value.
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}