Introduction
The Spaces API allows you to manage event spaces (salones) in the DEMET system. You can create, retrieve, update, and delete spaces, as well as check their availability.Available Endpoints
Create Space
Register a new event space
List Spaces
Get all available spaces
Get Space
Retrieve a specific space by ID
Update Space
Update space information
Delete Space
Remove a space from the system
Check Availability
Get occupied dates for a space
Authentication
Most space endpoints require authentication via JWT token stored in theaccess_token cookie. Only the list endpoint is publicly accessible.
Space Object
A space object contains the following properties:Unique identifier for the space
Name of the space
Description of the space including amenities
Maximum capacity (number of people)
Price for 4-hour rental
Price for 8-hour rental
Price for additional hours beyond 8
Array of image URLs for the space