CineHall-API
    CineHall-API
    • sessions
      • create_session
        POST
      • create_session_film
        POST
      • getall
        GET
      • filter_by_type
        GET
    • registration
      • register
        POST
      • login
        POST
      • logout
        POST
      • update_user
        POST
      • delete_user
        DELETE
    • film
      • delete_film
        DELETE
      • create_film
        POST
      • update_film
        PUT
      • getAll
        GET
    • rooms
      • create_room
        POST
      • show
        GET
    • reservations
      • Delete
        DELETE
      • Reservation
        POST
      • confirme_buy
        POST
      • modify_reservation
        GET
    • seats
      • create_room_seats
        POST
    • Dashboard
      • informations
        GET
      • taux d'ocupiration de seances
        GET
      • films classement
        GET
    • download_Ticket
      GET

      download_Ticket

      GET
      http://127.0.0.1:8000/api/tickets/2/download

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************

      Responses

      🟢200Success
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'http://127.0.0.1:8000/api/tickets/2/download' \
      --header 'Authorization: Bearer <token>'
      Response Response Example
      {}
      Modified at 2025-03-27 15:30:46
      Previous
      films classement
      Built with