Artckle icon

Artckle

Interact with Strapi CMS API

Actions13

Issue → Get All

AI-generated

Summary

Retrieve a paginated list of issues from the Strapi CMS, applying optional filters, sorting, and selectable relation population.

Inputs

  • Populate Mode — Choose which related entities to populate: None, Basic (newspaper only), Full (newspaper, pages, created_by_user, updated_by_user), or Custom selection of relations.
  • Populate Relations — When 'Custom' populate mode is selected, specify which relations to load: Newspaper, Pages, Created By User, Updated By User.
  • Filters — Apply filters such as searching by name, filtering by status (Created, Editing, Published), newspaper ID, channel ID, date range (date, createdAt, updatedAt).
  • Sort — String to specify sort order using field and direction (e.g., 'date:desc').
  • Limit — Maximum number of issues to return per page, minimum 1, default 25.
  • Page — Page number to retrieve for pagination, minimum 1, default 1.

Output shape

a JSON object containing an array of issues matching the specified parameters, including optionally populated relations. Each issue is represented as a JSON item.

The output respects pagination based on the Limit and Page parameters. Relations are populated according to the Populate Mode and Populate Relations inputs. If no issues match the filters, an empty array or a message may be returned. Errors during the API request will result in node errors unless 'Continue On Fail' is enabled.

Examples

Example 1: Get up to 25 published issues with their newspaper relation loaded, sorted descending by date.

Set 'Status' filter to 'Published', 'Populate Mode' to 'Basic', 'Sort' to 'date:desc', 'Limit' to 25, 'Page' to 1.

Discussion