Skip to main content

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 the access_token cookie. Only the list endpoint is publicly accessible.

Space Object

A space object contains the following properties:
id_rate
number
Unique identifier for the space
name
string
Name of the space
descrip
string
Description of the space including amenities
pax
number
Maximum capacity (number of people)
value4
number
Price for 4-hour rental
value8
number
Price for 8-hour rental
value_extra
number
Price for additional hours beyond 8
url_img
array
Array of image URLs for the space

Build docs developers (and LLMs) love