Exhibicion resource, which represents a marine exhibit at Parque Marino del Pacífico Sur. Each exhibit is composed of a core record plus four nested sub-resources: images, facts, descriptions, and buttons.
GET endpoints for listing and retrieving exhibits are publicly accessible without authentication. POST, PUT, and DELETE operations require an authenticated admin session.The Exhibicion object
Unique identifier for the exhibit.
Internal machine-readable key for the exhibit (unique, max 30 characters). Used as a slug-style identifier.
Short display label for the exhibit (unique, max 30 characters). Used in navigation and tab components.
Full human-readable title of the exhibit (unique, max 30 characters). Rendered as a heading on the exhibit page.
Array of absolute URLs pointing to the exhibit’s images. Each URL resolves to a file under the
exhibitions/ media path.Array of plain-text fact strings associated with the exhibit. Displayed as bullet points or info cards.
Array of paragraph-length description strings. Rendered as body copy on the exhibit detail view.
Array of call-to-action button objects. Each button has a
label (display text) and a link (target URL or route).List exhibits
No query parameters are currently supported. Returns all exhibits.
Create an exhibit
Requires admin authentication.
Internal key for the exhibit. Must be unique and no longer than 30 characters.
Short display label. Must be unique and no longer than 30 characters.
Full exhibit title. Must be unique and no longer than 30 characters.
201 Created
Retrieve an exhibit
The numeric ID of the exhibit to retrieve.
Update an exhibit
Requires admin authentication.
The numeric ID of the exhibit to update.
Updated internal key.
Updated display label.
Updated title.
Delete an exhibit
Requires admin authentication. Deleting an exhibit cascades to all associated images, facts, descriptions, and buttons.
The numeric ID of the exhibit to delete.
204 No Content on success.
Sub-resources
Each exhibit has four independently managed sub-resources. All sub-resource endpoints follow the same pattern.Images — ExhibicionImage
| Method | Endpoint | Description |
|---|---|---|
GET | /api/exhibiciones/imagenes/ | List all exhibit images |
POST | /api/exhibiciones/imagenes/create/ | Upload a new image (admin) |
GET | /api/exhibiciones/imagenes/{id}/ | Retrieve a single image record |
PUT | /api/exhibiciones/imagenes/{id}/update/ | Replace an image (admin) |
DELETE | /api/exhibiciones/imagenes/{id}/delete/ | Remove an image (admin) |
Image record ID.
Foreign key to the parent
Exhibicion.Relative media path. The parent serializer exposes absolute URLs.
ISO 8601 timestamp of upload.
ISO 8601 timestamp of last update.
Facts — ExhibicionFacts
| Method | Endpoint | Description |
|---|---|---|
GET | /api/exhibiciones/facts/ | List all facts |
POST | /api/exhibiciones/facts/create/ | Add a fact (admin) |
GET | /api/exhibiciones/facts/{id}/ | Retrieve a single fact |
DELETE | /api/exhibiciones/facts/{id}/delete/ | Remove a fact (admin) |
Fact record ID.
Foreign key to the parent
Exhibicion.Plain-text fact content.
Descriptions — ExhibicionDescription
| Method | Endpoint | Description |
|---|---|---|
GET | /api/exhibiciones/description/ | List all descriptions |
POST | /api/exhibiciones/description/create/ | Add a description (admin) |
GET | /api/exhibiciones/description/{id}/ | Retrieve a description |
PUT | /api/exhibiciones/description/{id}/update/ | Update a description (admin) |
DELETE | /api/exhibiciones/description/{id}/delete/ | Remove a description (admin) |
Description record ID.
Foreign key to the parent
Exhibicion.Paragraph-length description text.
Buttons — ExhibicionButtons
| Method | Endpoint | Description |
|---|---|---|
GET | /api/exhibiciones/buttons/ | List all buttons |
POST | /api/exhibiciones/buttons/create/ | Add a button (admin) |
GET | /api/exhibiciones/buttons/{id}/ | Retrieve a button |
PUT | /api/exhibiciones/buttons/{id}/update/ | Update a button (admin) |
DELETE | /api/exhibiciones/buttons/{id}/delete/ | Remove a button (admin) |
Button record ID.
Foreign key to the parent
Exhibicion.Button display text (unique, max 255 characters).
Target URL or internal route. Defaults to an empty string.
