@4geit/swg-timeslots-path
Version:
timeslots endpoint specification
79 lines (78 loc) • 1.8 kB
YAML
definitions:
SwgTimeslotsPath:
x-swagger-router-controller: swg-timeslots-path
get:
operationId: timeslots
description: |
timeslots endpoint specification
tags:
- Account
security:
- $ref: '#/definitions/TimeslotOperationSecurityItem'
parameters:
- name: 'dateRange[]'
in: query
description: date range
required: false
type: string
- name: status
in: query
description: event status
required: false
type: string
- name: pageSize
in: query
description: number of items per page
required: false
type: integer
- name: page
in: query
description: page number
required: false
type: integer
responses:
200:
description: Success
schema:
$ref: "#/definitions/TimeslotListModel"
default:
description: Error
schema:
$ref: "#/definitions/ErrorResponse"
TimeslotModel:
type: object
required:
- eventId
- title
- startTime
- endTime
properties:
eventId:
type: string
title:
type: string
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
TimeslotListModel:
type: object
properties:
list:
type: array
items:
$ref: '#/definitions/TimeslotModel'
ErrorResponse:
required:
- message
properties:
message:
type: string
TimeslotSecurityModel:
type: apiKey
in: header
name: x-abl-access-key
TimeslotOperationSecurityItem:
TimeslotSecurity: []