openapi: 3.0.3 info: title: FatSecret Platform Exercise Diary API description: The FatSecret Platform API provides programmatic access to a global food nutrition database covering more than 1.9 million verified food items across 56 countries. It supports food and recipe search, barcode scanning, image recognition, natural language processing, and full profile-based food diary, exercise diary, and weight tracking management. version: '3.0' contact: name: FatSecret Platform url: https://platform.fatsecret.com/platform-api servers: - url: https://platform.fatsecret.com/rest description: REST endpoint for URL-based and method-based integration security: - oauth2: [] - oauth1: [] tags: - name: Exercise Diary description: Daily exercise tracking paths: /exercise-entries/v2: get: tags: - Exercise Diary summary: Get exercise diary entries operationId: getExerciseEntries responses: '200': description: Exercise entries post: tags: - Exercise Diary summary: Commit exercise diary entries operationId: commitExerciseEntries responses: '200': description: Committed components: securitySchemes: oauth2: type: oauth2 flows: clientCredentials: tokenUrl: https://oauth.fatsecret.com/connect/token scopes: basic: Basic access to food and recipe data premier: Premier access including image recognition and NLP oauth1: type: http scheme: oauth description: OAuth 1.0a request signing