Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swagger: "2.0"
- info:
- description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
- version: "1.0.0"
- title: "Puzzleware Box API"
- termsOfService: "http://swagger.io/terms/"
- contact:
- email: "apiteam@swagger.io"
- license:
- name: "Apache 2.0"
- url: "http://www.apache.org/licenses/LICENSE-2.0.html"
- host: "pw.lumadis.lt"
- basePath: "/box2.0"
- tags:
- - name: "channels"
- description: "Placeholder"
- externalDocs:
- description: "ext placeholder"
- url: "http://swagger.io"
- - name: "recommended"
- description: "Access to Petstore orders"
- - name: "genres"
- description: "Operations about user"
- externalDocs:
- description: "Find out more about our store"
- url: "http://swagger.io"
- - name: "tvshows"
- description: "Access to Petstore orders"
- - name: "epg"
- description: "Access to Petstore orders"
- - name: "epggrid"
- description: "Access to Petstore orders"
- - name: "epgarchive"
- description: "Access to Petstore orders"
- - name: "favorites"
- description: "Access to Petstore orders"
- - name: "userinfo"
- description: "Access to Petstore orders"
- - name: "settings"
- description: "Access to Petstore orders"
- - name: "system"
- description: "Access to Petstore orders"
- - name: "servers"
- description: "Access to Petstore orders"
- - name: "geocountries"
- description: "Access to Petstore orders"
- - name: "geocities"
- description: "Access to Petstore orders"
- - name: "vod_content"
- description: "Access to Petstore orders"
- - name: "actors"
- description: "Access to Petstore orders"
- - name: "directors"
- description: "Access to Petstore orders"
- - name: "register"
- description: "Access to Petstore orders"
- schemes:
- - "https"
- paths:
- /channels/lang/{lang}:
- get:
- tags:
- - "channels"
- summary: "Provides channels list for the authorized customer."
- description: ""
- operationId: "getChannels"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "lang"
- type: "string"
- description: "language code, available options: lt, en, ru."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/Channel"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /channels/{channel}/spritesfrom={from}to={to}:
- get:
- tags:
- - "channels"
- summary: "Provides information about channel’s sprite images."
- description: ""
- operationId: "getChannelSprites"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "channel"
- type: "integer"
- description: "channel id, ex. 11274."
- required: true
- - in: "path"
- name: "from"
- type: "string"
- description: "day, ex. 2018-08-23 13:30:00."
- required: true
- - in: "path"
- name: "to"
- type: "string"
- description: "day, ex. 2018-08-23 14:30:00."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/ChannelSprites"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /recommended:
- get:
- tags:
- - "recommended"
- summary: "Provides recommended programs marked with rating star “5/5” property."
- description: ""
- operationId: "getRecommended"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/EPGProgram"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /genres/lang/{lang}:
- get:
- tags:
- - "genres"
- summary: "Provides TV genres list."
- description: ""
- operationId: "getGenres"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "lang"
- type: "string"
- description: "language code, available options: lt, en, ru."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/ChannelGenre"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /tvshows/lang/{lang}:
- get:
- tags:
- - "tvshows"
- summary: "Provides TV shows list."
- description: ""
- operationId: "getTvShows"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "lang"
- type: "string"
- description: "language code, available options: lt, en, ru."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/ChannelGenre"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /epg/channel/{channel}/date/{date}:
- get:
- tags:
- - "epg"
- summary: "Provides TV shows list."
- description: ""
- operationId: "getEpg"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "channel"
- type: "integer"
- description: "channel id, ex. 74."
- required: true
- - in: "path"
- name: "date"
- type: "string"
- description: "day, ex. 2014-05-23."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/adb.EpgProgram"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /epg/{epg}/channel/{channel}/sprites:
- get:
- tags:
- - "epg"
- summary: "Provides TV shows list."
- description: ""
- operationId: "getEpgSprites"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "channel"
- type: "integer"
- description: "channel id, ex. 74."
- required: true
- - in: "path"
- name: "epg"
- type: "string"
- description: "epg Id, ex. 8768g7654d54342a342"
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/ChannelSprites"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /epggrid/channels/{channels}/from/{from}/to/{to}:
- get:
- tags:
- - "epggrid"
- summary: "Provides TV shows list."
- description: ""
- operationId: "getEpgGrid"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "channels"
- type: "array"
- items:
- type: "integer"
- description: "channel's id's, ex. '74,72,75'"
- required: true
- - in: "path"
- name: "from"
- type: "string"
- description: "day, ex. 2018-08-23 13:30:00."
- required: true
- - in: "path"
- name: "to"
- type: "string"
- description: "day, ex. 2018-08-23 14:30:00."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/ChannelEPGProgram"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired"
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /epgarchive/channel/{channel}/from/{from}/to/{to}:
- get:
- tags:
- - "epgarchive"
- summary: "Provides TV shows list."
- description: ""
- operationId: "getEpgArchive"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "channel"
- type: "integer"
- description: "channel id, ex. 74."
- required: true
- - in: "path"
- name: "from"
- type: "string"
- description: "day, ex. 2018-08-23 13:30:00."
- required: true
- - in: "path"
- name: "to"
- type: "string"
- description: "day, ex. 2018-08-23 14:30:00."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/EPGArchiveProgram"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /favorites:
- get:
- tags:
- - "favorites"
- summary: "Provides favorite channel list."
- description: ""
- operationId: "getFavorites"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- type: "string"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- post:
- tags:
- - "favorites"
- summary: "Provides favorite channel list."
- description: ""
- operationId: "postFavorites"
- consumes:
- - "application/x-www-form-urlencoded"
- produces:
- - "application/json"
- parameters:
- - in: "formData"
- name: "channel"
- type: "integer"
- description: "channel id, ex. 74."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- items:
- $ref: "#/definitions/FavoritesInserted"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /userinfo:
- get:
- tags:
- - "userinfo"
- summary: "Provides favorite channel list."
- description: ""
- operationId: "getUserinfo"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- items:
- $ref: "#/definitions/UserInfoData"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- post:
- tags:
- - "userinfo"
- summary: "Provides favorite channel list."
- description: ""
- operationId: "postUserinfo"
- consumes:
- - "application/x-www-form-urlencoded"
- produces:
- - "application/json"
- parameters:
- - in: "formData"
- name: "title"
- type: "string"
- description: "Equipment title"
- required: true
- - in: "formData"
- name: "serial_number"
- type: "string"
- description: "Equipment serial number"
- required: true
- - in: "formData"
- name: "aflag"
- type: "boolean"
- description: "Enable/Disable showing of the archive information. 0 – disables this option, 1- enables it"
- required: true
- - in: "formData"
- name: "pin"
- type: "integer"
- description: "PIN code"
- required: true
- responses:
- 200:
- description: "success : true"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /settings:
- get:
- tags:
- - "settings"
- summary: "Provides user settings."
- description: ""
- operationId: "getSettings"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- items:
- $ref: "#/definitions/EquipmentSettings"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- post:
- tags:
- - "settings"
- summary: "Provides user settings."
- description: ""
- operationId: "postSettings"
- consumes:
- - "application/x-www-form-urlencoded"
- produces:
- - "application/json"
- parameters:
- - in: "formData"
- name: "lang"
- type: "string"
- description: "language, available options - 'lt_LT', 'ru_RU', 'en_US', 'lv_LV'"
- required: true
- - in: "formData"
- name: "tz"
- type: "string"
- description: "time zone, ex. Europe/Vilnius"
- required: true
- - in: "formData"
- name: "location"
- type: "integer"
- description: "city id, city and country list can be retrieved by useing geocountiries and geocities methods. "
- required: true
- responses:
- 200:
- description: "success : true"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /system:
- get:
- tags:
- - "system"
- summary: "Provides information about the system – system status."
- description: ""
- operationId: "getSystem"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- items:
- $ref: "#/definitions/SystemStatus"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /servers:
- get:
- tags:
- - "servers"
- summary: "Provides server list."
- description: ""
- operationId: "getServers"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- items:
- type: "array"
- items:
- $ref: "#/definitions/EPGArchiveServerCustomerGroup"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /geocountries:
- get:
- tags:
- - "geocountries"
- summary: "Provides server list."
- description: ""
- operationId: "getGeocountries"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/GeoCountryMin"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /geocities:
- get:
- tags:
- - "geocities"
- summary: "Provides server list."
- description: ""
- operationId: "getGeocities"
- produces:
- - "application/json"
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/GeoCity"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /vodcontent/lang/{lang}/:
- get:
- tags:
- - "vod_content"
- summary: "Provides TV genres list."
- description: ""
- operationId: "getGenres"
- produces:
- - "application/json"
- parameters:
- - in: "path"
- name: "lang"
- type: "string"
- description: "language code, available options: lt, en, ru."
- required: true
- responses:
- 200:
- description: "success : true"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/ChannelGenre"
- 403:
- description: "error: invalid_token
- error_description: The access token provided has expired
- "
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /pet/findByStatus:
- get:
- tags:
- - "pet"
- summary: "Finds Pets by status"
- description: "Multiple status values can be provided with comma separated strings"
- operationId: "findPetsByStatus"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "status"
- in: "query"
- description: "Status values that need to be considered for filter"
- required: true
- type: "array"
- items:
- type: "string"
- enum:
- - "available"
- - "pending"
- - "sold"
- default: "available"
- collectionFormat: "multi"
- responses:
- 200:
- description: "successful operation"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/Pet"
- 400:
- description: "Invalid status value"
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /pet/findByTags:
- get:
- tags:
- - "pet"
- summary: "Finds Pets by tags"
- description: "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
- operationId: "findPetsByTags"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "tags"
- in: "query"
- description: "Tags to filter by"
- required: true
- type: "array"
- items:
- type: "string"
- collectionFormat: "multi"
- responses:
- 200:
- description: "successful operation"
- schema:
- type: "array"
- items:
- $ref: "#/definitions/Pet"
- 400:
- description: "Invalid tag value"
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- deprecated: true
- /pet/{petId}:
- get:
- tags:
- - "pet"
- summary: "Find pet by ID"
- description: "Returns a single pet"
- operationId: "getPetById"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "petId"
- in: "path"
- description: "ID of pet to return"
- required: true
- type: "integer"
- format: "int64"
- responses:
- 200:
- description: "successful operation"
- schema:
- $ref: "#/definitions/Pet"
- 400:
- description: "Invalid ID supplied"
- 404:
- description: "Pet not found"
- security:
- - api_key: []
- post:
- tags:
- - "pet"
- summary: "Updates a pet in the store with form data"
- description: ""
- operationId: "updatePetWithForm"
- consumes:
- - "application/x-www-form-urlencoded"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "petId"
- in: "path"
- description: "ID of pet that needs to be updated"
- required: true
- type: "integer"
- format: "int64"
- - name: "name"
- in: "formData"
- description: "Updated name of the pet"
- required: false
- type: "string"
- - name: "status"
- in: "formData"
- description: "Updated status of the pet"
- required: false
- type: "string"
- responses:
- 405:
- description: "Invalid input"
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- delete:
- tags:
- - "pet"
- summary: "Deletes a pet"
- description: ""
- operationId: "deletePet"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "api_key"
- in: "header"
- required: false
- type: "string"
- - name: "petId"
- in: "path"
- description: "Pet id to delete"
- required: true
- type: "integer"
- format: "int64"
- responses:
- 400:
- description: "Invalid ID supplied"
- 404:
- description: "Pet not found"
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /pet/{petId}/uploadImage:
- post:
- tags:
- - "pet"
- summary: "uploads an image"
- description: ""
- operationId: "uploadFile"
- consumes:
- - "multipart/form-data"
- produces:
- - "application/json"
- parameters:
- - name: "petId"
- in: "path"
- description: "ID of pet to update"
- required: true
- type: "integer"
- format: "int64"
- - name: "additionalMetadata"
- in: "formData"
- description: "Additional data to pass to server"
- required: false
- type: "string"
- - name: "file"
- in: "formData"
- description: "file to upload"
- required: false
- type: "file"
- responses:
- 200:
- description: "successful operation"
- schema:
- $ref: "#/definitions/ApiResponse"
- security:
- - oauth:
- - "write:pets"
- - "read:pets"
- /store/inventory:
- get:
- tags:
- - "store"
- summary: "Returns pet inventories by status"
- description: "Returns a map of status codes to quantities"
- operationId: "getInventory"
- produces:
- - "application/json"
- parameters: []
- responses:
- 200:
- description: "successful operation"
- schema:
- type: "object"
- additionalProperties:
- type: "integer"
- format: "int32"
- security:
- - api_key: []
- /store/order:
- post:
- tags:
- - "store"
- summary: "Place an order for a pet"
- description: ""
- operationId: "placeOrder"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - in: "body"
- name: "body"
- description: "order placed for purchasing the pet"
- required: true
- schema:
- $ref: "#/definitions/Order"
- responses:
- 200:
- description: "successful operation"
- schema:
- $ref: "#/definitions/Order"
- 400:
- description: "Invalid Order"
- /store/order/{orderId}:
- get:
- tags:
- - "store"
- summary: "Find purchase order by ID"
- description: "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions"
- operationId: "getOrderById"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "orderId"
- in: "path"
- description: "ID of pet that needs to be fetched"
- required: true
- type: "integer"
- maximum: 10.0
- minimum: 1.0
- format: "int64"
- responses:
- 200:
- description: "successful operation"
- schema:
- $ref: "#/definitions/Order"
- 400:
- description: "Invalid ID supplied"
- 404:
- description: "Order not found"
- delete:
- tags:
- - "store"
- summary: "Delete purchase order by ID"
- description: "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors"
- operationId: "deleteOrder"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "orderId"
- in: "path"
- description: "ID of the order that needs to be deleted"
- required: true
- type: "integer"
- minimum: 1.0
- format: "int64"
- responses:
- 400:
- description: "Invalid ID supplied"
- 404:
- description: "Order not found"
- /user:
- post:
- tags:
- - "user"
- summary: "Create user"
- description: "This can only be done by the logged in user."
- operationId: "createUser"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - in: "body"
- name: "body"
- description: "Created user object"
- required: true
- schema:
- $ref: "#/definitions/User"
- responses:
- default:
- description: "successful operation"
- /user/createWithArray:
- post:
- tags:
- - "user"
- summary: "Creates list of users with given input array"
- description: ""
- operationId: "createUsersWithArrayInput"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - in: "body"
- name: "body"
- description: "List of user object"
- required: true
- schema:
- type: "array"
- items:
- $ref: "#/definitions/User"
- responses:
- default:
- description: "successful operation"
- /user/createWithList:
- post:
- tags:
- - "user"
- summary: "Creates list of users with given input array"
- description: ""
- operationId: "createUsersWithListInput"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - in: "body"
- name: "body"
- description: "List of user object"
- required: true
- schema:
- type: "array"
- items:
- $ref: "#/definitions/User"
- responses:
- default:
- description: "successful operation"
- /user/login:
- get:
- tags:
- - "user"
- summary: "Logs user into the system"
- description: ""
- operationId: "loginUser"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "username"
- in: "query"
- description: "The user name for login"
- required: true
- type: "string"
- - name: "password"
- in: "query"
- description: "The password for login in clear text"
- required: true
- type: "string"
- responses:
- 200:
- description: "successful operation"
- schema:
- type: "string"
- headers:
- X-Rate-Limit:
- type: "integer"
- format: "int32"
- description: "calls per hour allowed by the user"
- X-Expires-After:
- type: "string"
- format: "date-time"
- description: "date in UTC when token expires"
- 400:
- description: "Invalid username/password supplied"
- /user/logout:
- get:
- tags:
- - "user"
- summary: "Logs out current logged in user session"
- description: ""
- operationId: "logoutUser"
- produces:
- - "application/xml"
- - "application/json"
- parameters: []
- responses:
- default:
- description: "successful operation"
- /user/{username}:
- get:
- tags:
- - "user"
- summary: "Get user by user name"
- description: ""
- operationId: "getUserByName"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "username"
- in: "path"
- description: "The name that needs to be fetched. Use user1 for testing. "
- required: true
- type: "string"
- responses:
- 200:
- description: "successful operation"
- schema:
- $ref: "#/definitions/User"
- 400:
- description: "Invalid username supplied"
- 404:
- description: "User not found"
- put:
- tags:
- - "user"
- summary: "Updated user"
- description: "This can only be done by the logged in user."
- operationId: "updateUser"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "username"
- in: "path"
- description: "name that need to be updated"
- required: true
- type: "string"
- - in: "body"
- name: "body"
- description: "Updated user object"
- required: true
- schema:
- $ref: "#/definitions/User"
- responses:
- 400:
- description: "Invalid user supplied"
- 404:
- description: "User not found"
- delete:
- tags:
- - "user"
- summary: "Delete user"
- description: "This can only be done by the logged in user."
- operationId: "deleteUser"
- produces:
- - "application/xml"
- - "application/json"
- parameters:
- - name: "username"
- in: "path"
- description: "The name that needs to be deleted"
- required: true
- type: "string"
- responses:
- 200:
- description: ""
- 400:
- description: "Invalid username supplied"
- 404:
- description: "User not found"
- securityDefinitions:
- oauth:
- type: "oauth2"
- authorizationUrl: "https://pw.lumadis.lt/box2.0/index"
- flow: "implicit"
- scopes:
- write:pets: "modify pets in your account"
- read:pets: "read your pets"
- api_key:
- type: "basic"
- definitions:
- Channel:
- type: "object"
- properties:
- id:
- type: "integer"
- format: "init64"
- channel_type_id:
- type: "integer"
- format: "init64"
- genre_id:
- type: "integer"
- format: "init64"
- ip:
- type: "string"
- rating:
- type: "string"
- logo:
- type: "string"
- encryption:
- type: "number"
- ambercrypted:
- type: "number"
- video_enc:
- type: "string"
- recordable:
- type: "number"
- archive_server_id:
- type: "integer"
- archive_channel_id:
- type: "integer"
- enabled:
- type: "number"
- streamer_id:
- type: "integer"
- streamer_channel_id:
- type: "integer"
- video_pid:
- type: "integer"
- profile_id:
- type: "integer"
- created_on:
- type: "string"
- format: "datetime"
- creator_id:
- type: "integer"
- modified_on:
- type: "string"
- format: "datetime"
- modifier_id:
- type: "integer"
- order:
- type: "integer"
- is_dvbc:
- type: "number"
- dvbc_frequency:
- type: "integer"
- dvbc_srate:
- type: "integer"
- dvbc_qam:
- type: "integer"
- dvbc_pcr:
- type: "integer"
- dvbc_vfmt:
- type: "string"
- modulation:
- type: "integer"
- service_id:
- type: "integer"
- is_ott:
- type: "number"
- ott_server_id:
- type: "integer"
- odisey_service_id:
- type: "integer"
- hls_type:
- type: "number"
- ott_path:
- type: "string"
- prg_lifetime:
- type: "integer"
- aspect_ratios:
- type: "string"
- dvbt_fec:
- type: "string"
- dvbt_frequency:
- type: "string"
- dvbt_guard:
- type: "string"
- dvbt_modulation:
- type: "string"
- dvbt_type:
- type: "number"
- bandwidth:
- type: "integer"
- thumbnail_server_id:
- type: "integer"
- thumbnail_service_id:
- type: "integer"
- chapter_channel_id:
- type: "integer"
- ChannelSprites:
- type: "object"
- properties:
- step:
- type: "integer"
- tile:
- type: "string"
- scale:
- type: "string"
- sprites:
- type: "array"
- items:
- $ref: "#/definitions/Sprite"
- Sprite:
- type: "object"
- properties:
- sprite:
- type: "string"
- start:
- type: "string"
- stop:
- type: "string"
- EPGProgram:
- type: "object"
- properties:
- adb.EpgProgram:
- $ref: "#/definitions/adb.EpgProgram"
- TVShowImage:
- type: "string"
- adb.EpgProgram:
- type: "object"
- properties:
- ID:
- type: "string"
- EPGChannelID:
- type: "string"
- ChannelID:
- type: "integer"
- Start:
- type: "string"
- format: "datetime"
- Stop:
- type: "string"
- format: "datetime"
- Lenght:
- type: "string"
- Timezone:
- type: "string"
- Title:
- type: "string"
- Description:
- type: "string"
- Poster:
- type: "string"
- Lang:
- type: "string"
- TVShowID:
- type: "integer"
- GenreID:
- type: "integer"
- RatingStar:
- type: "string"
- Recordable:
- type: "boolean"
- Episode:
- type: "string"
- Category:
- type: "string"
- Date:
- type: "string"
- Directors:
- type: "string"
- Actors:
- type: "string"
- ChannelEPGProgram:
- type: "object"
- properties:
- ID:
- type: "string"
- Start:
- type: "string"
- Stop:
- type: "string"
- GenreID:
- type: "integer"
- TVShowID:
- type: "integer"
- RatingStar:
- type: "string"
- Title:
- type: "string"
- OriginalTitle:
- type: "string"
- Description:
- type: "string"
- Poster:
- type: "string"
- ChannelId:
- type: "string"
- TVShowURL:
- type: "string"
- Recordable:
- type: "boolean"
- Episode:
- type: "string"
- Category:
- type: "string"
- Date:
- type: "string"
- Directors:
- type: "string"
- Actors:
- type: "string"
- ChannelGenre:
- type: "object"
- properties:
- ID:
- type: "integer"
- Logo:
- type: "string"
- Color:
- type: "string"
- Name:
- type: "string"
- EPGArchiveProgram:
- type: "object"
- properties:
- ID:
- type: "string"
- ServicePath:
- type: "string"
- Start:
- type: "string"
- Stop:
- type: "string"
- Title:
- type: "string"
- Description:
- type: "string"
- Poster:
- type: "string"
- Screenshot:
- type: "string"
- URL:
- type: "string"
- Lang:
- type: "string"
- ArchiveServers:
- type: "array"
- items:
- type: "string"
- Recordable:
- type: "boolean"
- FavoritesInserted:
- type: "object"
- properties:
- receivedCount:
- type: "integer"
- insertedCount:
- type: "integer"
- UserInfoData:
- type: "object"
- properties:
- ProfileID:
- type: "integer"
- UserID:
- type: "integer"
- EquipmentId:
- type: "integer"
- EquipmentPIN:
- type: "string"
- TimezoneOffset:
- type: "string"
- Username:
- type: "string"
- UserSurname:
- type: "string"
- UserEmail:
- type: "string"
- ArchivesFlag:
- type: "integer"
- ExternalIP:
- type: "string"
- EquipmentSettings:
- type: "object"
- properties:
- Language:
- type: "string"
- Timezone:
- type: "string"
- Location:
- type: "string"
- InActiveTimeout:
- type: "string"
- SystemStatus:
- type: "object"
- properties:
- Maintenance:
- type: "boolean"
- Message:
- type: "string"
- EPGArchiveServer:
- type: "object"
- properties:
- ID:
- type: "integer"
- Name:
- type: "string"
- ServerTag:
- type: "string"
- Username:
- type: "string"
- Password:
- type: "string"
- Secret:
- type: "string"
- Location:
- type: "string"
- URL:
- type: "string"
- Version:
- type: "integer"
- Type:
- type: "integer"
- Priority:
- type: "integer"
- SpeedTestOption:
- type: "integer"
- SpeedTestPath:
- type: "string"
- Extension:
- type: "string"
- PRGLifetime:
- type: "integer"
- ParentID:
- type: "integer"
- Enabled:
- type: "boolean"
- EPGArchiveServerCustomerGroup:
- type: "object"
- properties:
- EPGArchiveServer:
- $ref: "#/definitions/EPGArchiveServer"
- Default:
- type: "boolean"
- GeoCountryMin:
- type: "object"
- properties:
- ID:
- type: "string"
- Name:
- type: "string"
- ISO2:
- type: "string"
- GeoCity:
- type: "object"
- properties:
- ID:
- type: "string"
- CountryID:
- type: "string"
- Name:
- type: "string"
- PostCode:
- type: "string"
- Altitude:
- type: "string"
- Latitude:
- type: "string"
- Longitude:
- type: "string"
- VODShortContent:
- type: "object"
- properties:
- ID:
- type: "string"
- Image:
- type: "string"
- Year:
- type: "string"
- Title:
- type: "string"
- Genre:
- type: "string"
- VODPerson:
- type: "object"
- properties:
- ID:
- type: "string"
- Name:
- type: "string"
- Picture:
- type: "string"
- VODExtContentEpisode:
- type: "object"
- properties:
- Season:
- type: "integer"
- Episode:
- type: "integer"
- Duration:
- type: "integer"
- Title:
- type: "string"
- ServerID:
- type: "integer"
- File:
- type: "string"
- VODFullContent:
- type: "object"
- properties:
- ID:
- type: "string"
- VODServerID:
- type: "string"
- MediaFile:
- type: "string"
- Image:
- type: "string"
- Year:
- type: "string"
- Released:
- type: "string"
- IMDBRating:
- type: "string"
- Rating:
- type: "string"
- Duration:
- type: "string"
- MetaScore:
- type: "string"
- IMDBVotes:
- type: "string"
- Type:
- type: "string"
- Genre:
- type: "string"
- Lang:
- type: "string"
- Title:
- type: "string"
- TagLine:
- type: "string"
- Description:
- type: "string"
- OriginalLanguage:
- type: "string"
- Actors:
- type: "string"
- Directors:
- type: "string"
- Episodes:
- type: "array"
- items:
- $ref: "#/definitions/VODExtContentEpisode"
- VODFullContentWithIds:
- type: "object"
- properties:
- ID:
- type: "string"
- VODServerID:
- type: "string"
- MediaFile:
- type: "string"
- Image:
- type: "string"
- Year:
- type: "string"
- Released:
- type: "string"
- IMDBRating:
- type: "string"
- Rating:
- type: "string"
- Duration:
- type: "string"
- MetaScore:
- type: "string"
- IMDBVotes:
- type: "string"
- Type:
- type: "string"
- Genre:
- type: "string"
- Lang:
- type: "string"
- Title:
- type: "string"
- TagLine:
- type: "string"
- Description:
- type: "string"
- OriginalLanguage:
- type: "string"
- Actors:
- type: "string"
- Directors:
- type: "string"
- Episodes:
- type: "array"
- items:
- $ref: "#/definitions/VODExtContentEpisode"
- Order:
- type: "object"
- properties:
- id:
- type: "integer"
- format: "int64"
- petId:
- type: "integer"
- format: "int64"
- quantity:
- type: "integer"
- format: "int32"
- shipDate:
- type: "string"
- format: "date-time"
- status:
- type: "string"
- description: "Order Status"
- enum:
- - "placed"
- - "approved"
- - "delivered"
- complete:
- type: "boolean"
- default: false
- xml:
- name: "Order"
- Category:
- type: "object"
- properties:
- id:
- type: "integer"
- format: "int64"
- name:
- type: "string"
- xml:
- name: "Category"
- User:
- type: "object"
- properties:
- id:
- type: "integer"
- format: "int64"
- username:
- type: "string"
- firstName:
- type: "string"
- lastName:
- type: "string"
- email:
- type: "string"
- password:
- type: "string"
- phone:
- type: "string"
- userStatus:
- type: "integer"
- format: "int32"
- description: "User Status"
- xml:
- name: "User"
- Tag:
- type: "object"
- properties:
- id:
- type: "integer"
- format: "int64"
- name:
- type: "string"
- xml:
- name: "Tag"
- Pet:
- type: "object"
- required:
- - "name"
- - "photoUrls"
- properties:
- id:
- type: "integer"
- format: "int64"
- category:
- $ref: "#/definitions/Category"
- name:
- type: "string"
- example: "doggie"
- photoUrls:
- type: "array"
- xml:
- name: "photoUrl"
- wrapped: true
- items:
- type: "string"
- tags:
- type: "array"
- xml:
- name: "tag"
- wrapped: true
- items:
- $ref: "#/definitions/Tag"
- status:
- type: "string"
- description: "pet status in the store"
- enum:
- - "available"
- - "pending"
- - "sold"
- xml:
- name: "Pet"
- ApiResponse:
- type: "object"
- properties:
- code:
- type: "integer"
- format: "int32"
- type:
- type: "string"
- message:
- type: "string"
- externalDocs:
- description: "Find out more about Swagger"
- url: "http://swagger.io"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement