Overview
The Noticia content type manages news articles and announcements for the club. It includes rich text content, featured images, and publishing controls.This is a collection type with draft and publish enabled. Articles can be saved as drafts and scheduled for publication.
Schema Information
- Collection Name:
noticias - Singular:
noticia - Plural:
noticias - Draft & Publish: Enabled
Attributes
titulo
The title of the news article.
- Required field
- Used to generate the slug automatically
- Displayed as the main heading
slug
URL-friendly unique identifier generated from the title.
- Automatically generated from
titulo - Unique across all news articles
- Used in article URLs
- Example: “nueva-competencia-2026” from “Nueva Competencia 2026”
imagenPrincipal
Featured image for the news article.
- Single file upload
- Allowed types: images, files, videos, audios
- Recommended: High-quality JPEG, 1200x630px (2:1 ratio)
- Optional field
- Used in article previews and social sharing
resumen
Short summary or excerpt of the article.
- Required field
- Plain text (no rich formatting)
- Recommended: 150-300 characters
- Used in article listings and previews
contenido
Main article content with rich text formatting.
- Required field
- Supports rich text blocks
- Can include headings, paragraphs, lists, links
- Full article body content
fecha
Publication date of the article.
- Required field
- Date format: YYYY-MM-DD
- Used for sorting and displaying articles chronologically
autor
Name of the article author.
- Optional field
- Free text format
- Displayed with the article
publicado
Whether the article is published and visible.
- Default:
true - Can be used for additional visibility control
- Works in conjunction with draft/publish system
API Endpoints
List All News Articles
Array of news article entries
Get Single Article
Create News Article
Update Article
Delete Article
Query Parameters
Sorting
Sort articles by date (newest first):Filtering
Filter published articles only:Pagination
Populate Media
Example Response
Slug Generation
Theslug field is automatically generated from the titulo field:
- Converts to lowercase
- Replaces spaces with hyphens
- Removes special characters
- Ensures uniqueness
You can manually override the slug when creating or updating an article by providing a custom value.
Best Practices
SEO-Friendly Titles
Write clear, descriptive titles that accurately represent the article content. This improves SEO and user engagement.
Compelling Summaries
Create engaging summaries that encourage readers to click through. Keep them concise (150-300 characters).
Featured Images
Always include a high-quality featured image. Use 1200x630px (2:1 ratio) for optimal display across devices and social media.
Consistent Dating
Use the fecha field consistently for proper chronological sorting. Set it to the actual publication date.
Rich Content
Leverage the blocks editor for well-structured content with headings, lists, and formatting for better readability.
Draft Workflow
Use draft mode to prepare articles before publication. Review and edit before making them live.
Content Structure Example
Here’s a recommended structure for thecontenido blocks:
