Groups

Groups in Cycle are used to organize and categorize Entries. They provide a way to structure your content into different categories or types, making it easier to manage and access.

Using groups in a content management system is like giving your clients a set of building blocks. Instead of hardcoding each piece of content, you create a structure—a group—and then let your clients add, remove, or rearrange the blocks as they see fit.

Get all groups by sending a GET request to: https://cyclecms.com/api/v1/websites/:website_slug/:environment_name/groups

Get entries for a specific group: https://cyclecms.com/api/v1/websites/:website_slug/:environment_name/groups/:slug

Example usages:
  1. Categories Group: Create a group called "Categories" to classify blog posts. Each entry in this group represents a different category, such as "Technology," "Lifestyle," or "Travel." When creating a blog post entry, you can assign it to one or more categories.
  2. Authors Group: Have a group named "Authors" to list all the contributors to your blog. Each entry in this group contains information about an author, such as their name, bio, and profile picture. Blog posts can then be linked to an author entry to display the author's details alongside the post.
  3. Albums: A group for the artist's albums, where each entry contains information like album title, release date, cover art, and a tracklist.
  4. Tour Dates: A group for upcoming tour dates, with entries including details such as the venue, city, date, and a link to buy tickets.