# This file defines Suunto Whiteboard API for Movesense Hackathon 2016 sample # swagger: '2.0' # Document metadata info: version: "0.0.0" title: Movesense Exercise app API description: | This file defines API for Movesense Exercise service See http://movesense.com for more information. termsOfService: http://suunto.com/wbapi/terms/ contact: name: Suunto team url: http://developer.suunto.com # Paths paths: /Exercise/Sumvector/Denes/Subscription: post: description: | Subscribe to periodic Data values. See documentation on product-specific measurement periods at http://XXX.suunto.com/XXX. If measurement source is unavailable, the Measurement member will be empty. If present, Measurement member contains single measurement result. responses: 200: description: Operation completed successfully x-std-errors: description: See common error codes http://developer.suunto.com/api/std-errors#subscribe x-notification: description: New value schema: $ref: '#/definitions/SampleDataValue' delete: description: | Unsubscribe from sample data values. responses: 200: description: Operation completed successfully x-std-errors: description: See common error codes http://developer.suunto.com/api/std-errors#unsubscribe definitions: SampleDataValue: required: - RelativeTime - Value properties: RelativeTime: description: Relative time of measurement type: integer format: uint32 x-unit: millisecond Value: description: Average acceleration, over 1 second $ref: 'http://localhost:9000/builtinTypes.yaml#/definitions/FloatVector3D' x-unit: m/s^2