تخطَّ إلى المحتوى

What are Collections?

A collection is a content type — it defines the structure (fields) for a group of related entries. Think of it as a database table, but without needing SQL.

Examples

CollectionFields
poststitle, slug, body, author, featured_image, published_at
productsname, price, description, images, category
team_membersname, role, bio, avatar, linkedin_url
settingssite_title, logo, footer_text (singleton)

Regular collections vs. singletons

Regular collection — can have multiple entries. Used for lists of items like blog posts, products, or team members.

Singleton — can have exactly one entry. Used for site-wide settings, a homepage hero section, or any unique piece of content.

Auto-generated API

When you create a collection, Jambo automatically generates REST and GraphQL endpoints:

GET /api/{projectId}/posts # list all posts
GET /api/{projectId}/posts/{uuid} # get one post
POST /api/{projectId}/posts # create a post
PATCH /api/{projectId}/posts/{uuid} # update a post
DELETE /api/{projectId}/posts/{uuid} # delete a post

No additional configuration needed.

Field types

Collections are made up of fields. See Field Types for the full list of available field types.