Notices are news articles and announcements published within a tournament event. Each notice is linked to a specific event and can include a title, written content, author attribution, images, and video. They are the primary way tournament organizers communicate updates, results, and highlights to participants and spectators. All write operations — registering, updating, and removing notices — require a valid JWT passed in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/gestor-backend/llms.txt
Use this file to discover all available pages before exploring further.
access-token header. Listing endpoints are fully public and require no authentication.
Notice Object
The following fields are returned whenever a notice object appears in an API response.Unique MongoDB ObjectId for the notice.
The tournament event this notice belongs to.
Headline of the notice.
Full body text of the notice.
Display name of the notice author.
List of image URLs hosted on Google Cloud Storage attached to the notice.
List of video file URLs or external video links attached to the notice.
Timestamp when the notice was first created.
Timestamp of the most recent update to the notice.
POST /api/notice/register-notice/:eventId
Creates a new notice and links it to the specified tournament event. Acceptsmultipart/form-data to support image and video file uploads alongside the text fields.
Auth: Token required
ObjectId of the event this notice should be published under.
Headline for the notice.
Full body text of the notice.
Display name of the person or entity publishing the notice.
One or more image files to attach to the notice. Uploaded to Google Cloud Storage.
A video file to upload, or a URL string pointing to an external video resource.
true when the notice was successfully created.The full newly created notice object. See Notice Object for field details.
POST /api/notice/update-notice/:noticeId
Updates an existing notice. Only the original author of the notice may perform this action. All fields are optional — only the fields included in the request will be updated. Auth: Token required (author only)ObjectId of the notice to update.
New headline for the notice. Omit to leave unchanged.
Updated body text. Omit to leave unchanged.
Replacement image file(s) for the notice.
Replacement video file or external video URL.
true when the notice was successfully updated.The updated notice object. See Notice Object for field details.
POST /api/notice/remove-notice/:noticeId
Permanently deletes a notice by its ID. Only the author who created the notice may delete it. Auth: Token required (author only)ObjectId of the notice to delete.
true when the notice was successfully deleted.POST /api/notice/list-notice/:eventId/:pag?/:perpage?
Returns a paginated list of notices published under a specific tournament event. Only notices belonging to active events are included in results. Auth: NoneThis endpoint only returns notices for events where
stade is true. Notices linked to inactive or archived events are excluded from results.ObjectId of the event whose notices should be listed.
Page number to retrieve. Defaults to
1 if omitted.Number of notices to return per page. Defaults to the server’s configured page size if omitted.
true when the request was processed successfully.List of notice objects for the specified event. See Notice Object for field details.
Pagination metadata for the result set.
POST /api/notice/list-notice-id/:noticeId
Retrieves a single notice by its unique ID. No authentication or event context is required. Auth: NoneObjectId of the notice to retrieve.
true when a matching notice was found and returned.The requested notice object. See Notice Object for field details.
POST /api/notice/list-notice-home/:pag?/:perpage?
Returns a blended, paginated feed of notices suitable for display on a frontend home page. The response combines the most recently published notices with a random selection to provide editorial variety without requiring the caller to specify an event. Auth: NonePage number to retrieve. Defaults to
1 if omitted.Number of notices to return per page. Defaults to the server’s configured page size if omitted.
The home feed blends two result sets: the most recently created notices and a randomly sampled subset. Duplicate entries are deduplicated before the page is returned, so every notice in the response is unique.
true when the feed was successfully assembled.Mixed list of recent and random notice objects. See Notice Object for field details.
Pagination metadata for the home feed result set.