This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1166 closed task (fixed)

API Room Booking: book a room

Reported by: jbenito Owned by: jatrzask
Priority: low Milestone: v1.0
Component: Room Booking Version: 0.99
Keywords: Cc: thomas.baron@…

Description

HTTP API should have a new POST service to book a room:

  • The service interface will be:
    • username (e.g. jbenito)
    • room ID
    • start/end date time
    • description
  • Beware of the protection: only people in the ACL can create bookings (check/reuse the normal RH for protection)
  • The 'Booked for' will be the same as the 'Creator'.

Change History (6)

comment:1 Changed 3 years ago by jatrzask

  • Status changed from new to assigned

comment:2 Changed 3 years ago by jatrzask

  • Status changed from assigned to in_work

comment:3 Changed 3 years ago by jatrzask

  • Status changed from in_work to awaiting_merge

comment:4 Changed 3 years ago by pferreir

  • Status changed from awaiting_merge to merging

comment:5 Changed 3 years ago by Jakub Trzaskoma <jakub.piotr.trzaskoma@…>

  • Resolution set to fixed
  • Status changed from merging to closed

In b1d060d2ffbfc944c9e7394f4f1925dc6dadfa90/indico:

[IMP] HTTP POST API for booking a room - docs

comment:6 Changed 3 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In 199bd1ee78d304eb44ac515876b32fb9f4b454bc/indico:

[FIX] RB protection - move things to single method

  • Documentation properly organized;
  • see #1166
Note: See TracTickets for help on using tickets.