ServiciosEducativos) represent the hands-on programs offered at Parque Marino del Pacífico Sur. These include environmental awareness workshops, guided marine tours, and other interactive experiences designed for children and young students. The structure mirrors the Exhibits resource: a core record plus nested images, facts, descriptions, and buttons.
The frontend Servicios_Educativos component fetches this data from GET /api/servicios_educativos/ and renders it alongside ticket pricing information.
GET endpoints are publicly accessible without authentication. POST, PUT, and DELETE operations require an authenticated session with the IsAuthenticatedOrReadOnly permission policy (write operations require authentication; sub-resource writes additionally require IsAuthenticatedAndRole).The ServiciosEducativos object
Unique identifier for the educational service.
Internal machine-readable key (unique, max 255 characters). Used as a programmatic identifier.
Short display label (unique, max 255 characters). Shown in navigation tabs and cards.
Full title of the educational service (unique, max 255 characters). Rendered as a heading.
Array of absolute URLs to the service’s images. Files are stored under the
servicios-educativos/ media path.Array of plain-text fact strings describing key highlights of the service.
Array of paragraph-length description strings. Rendered as body copy in the service detail view.
Array of call-to-action button objects.
List educational services
Create an educational service
Requires authentication.
Internal key. Must be unique and no longer than 255 characters.
Short display label. Must be unique and no longer than 255 characters.
Full service title. Must be unique and no longer than 255 characters.
201 Created
Retrieve an educational service
The numeric ID of the educational service.
Update an educational service
Requires authentication.
The numeric ID of the service to update.
Updated internal key.
Updated display label.
Updated title.
Delete an educational service
Requires authentication. Cascades to all associated images, facts, descriptions, and buttons.
The numeric ID of the service to delete.
204 No Content on success.
Sub-resources
Each educational service has four independently managed sub-resources. Sub-resource write operations (POST, PUT, DELETE) require IsAuthenticatedAndRole.
Images — ServiciosEducativosImage
| Method | Endpoint | Description |
|---|---|---|
GET | /api/servicios_educativos/imagenes/ | List all service images |
POST | /api/servicios_educativos/imagenes/create/ | Upload a new image (admin) |
GET | /api/servicios_educativos/imagenes/{id}/ | Retrieve a single image record |
PUT | /api/servicios_educativos/imagenes/{id}/update/ | Replace an image (admin) |
DELETE | /api/servicios_educativos/imagenes/{id}/delete/ | Remove an image (admin) |
Image record ID.
Foreign key to the parent
ServiciosEducativos.Relative media path under
servicios-educativos/.ISO 8601 upload timestamp.
ISO 8601 last-updated timestamp.
Facts — ServiciosEducativosFacts
| Method | Endpoint | Description |
|---|---|---|
GET | /api/servicios_educativos/facts/ | List all facts |
POST | /api/servicios_educativos/facts/create/ | Add a fact (admin) |
GET | /api/servicios_educativos/facts/{id}/ | Retrieve a single fact |
PUT | /api/servicios_educativos/facts/{id}/update/ | Update a fact (admin) |
DELETE | /api/servicios_educativos/facts/{id}/delete/ | Remove a fact (admin) |
Fact record ID.
Foreign key to the parent
ServiciosEducativos.Plain-text fact content.
Descriptions — ServiciosEducativosDescription
| Method | Endpoint | Description |
|---|---|---|
GET | /api/servicios_educativos/description/ | List all descriptions |
POST | /api/servicios_educativos/description/create/ | Add a description (admin) |
GET | /api/servicios_educativos/description/{id}/ | Retrieve a description |
PUT | /api/servicios_educativos/description/{id}/update/ | Update a description (admin) |
DELETE | /api/servicios_educativos/description/{id}/delete/ | Remove a description (admin) |
Description record ID.
Foreign key to the parent
ServiciosEducativos.Paragraph-length description text.
Buttons — ServiciosEducativosButtons
| Method | Endpoint | Description |
|---|---|---|
GET | /api/servicios_educativos/buttons/ | List all buttons |
POST | /api/servicios_educativos/buttons/create/ | Add a button (admin) |
GET | /api/servicios_educativos/buttons/{id}/ | Retrieve a button |
PUT | /api/servicios_educativos/buttons/{id}/update/ | Update a button (admin) |
DELETE | /api/servicios_educativos/buttons/{id}/delete/ | Remove a button (admin) |
Button record ID.
Foreign key to the parent
ServiciosEducativos.Button display text (unique, max 255 characters).
Target URL or internal route. Defaults to an empty string.
