Back

Water Tracker
Description
A tool for recording and tracking your water intake records, drink more water, stay healthy.
Details
https://www.fitbox.chat/.well-known/ai-plugin.json
{
"schema_version": "v1",
"name_for_human": "Water Tracker",
"name_for_model": "water_tracker",
"description_for_human": "A tool for recording and tracking your water intake records, drink more water, stay healthy.",
"description_for_model": "A tool for Drinking water record, you can add, view your drinking water statistics.",
"auth": {
"type": "oauth",
"client_url": "https://www.fitbox.chat/auth",
"scope": "record",
"authorization_url": "https://www.fitbox.chat/api/plugin/oauth/authorize",
"authorization_content_type": "application/json",
"verification_tokens": {
"openai": "e533cff497d841bc9b8a45e1c96441ab"
}
},
"api": {
"type": "openapi",
"url": "https://www.fitbox.chat/api/static/openapi.json"
},
"logo_url": "https://www.fitbox.chat/api/static/icon.png",
"contact_email": "simple.shen@gmail.com",
"legal_info_url": "https://www.fitbox.chat/privacy"
}
https://www.fitbox.chat/api/static/openapi.json
{
"openapi": "3.0.2",
"info": {
"title": "Water Tracker",
"version": "1.0.1"
},
"servers": [
{
"url": "https://www.fitbox.chat"
}
],
"paths": {
"/api/plugin/record/add": {
"post": {
"tags": [
"gpt"
],
"summary": "add drink record",
"operationId": "record_add",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RecordAddReq"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CommonSimpleResponse"
}
}
}
}
}
}
},
"/api/plugin/target/get": {
"get": {
"tags": [
"gpt"
],
"summary": "query the target amount of drinking water ml per day",
"operationId": "target_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserGptInfoRsp"
}
}
}
}
}
}
},
"/api/plugin/target/set": {
"post": {
"tags": [
"gpt"
],
"summary": "set the target amount of drinking water ml per day",
"operationId": "target_set",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserGptInfoReq"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserGptInfoRsp"
}
}
}
}
}
}
},
"/api/plugin/record/today": {
"get": {
"tags": [
"gpt"
],
"summary": "query water drinking records by date",
"operationId": "record_query_by_date",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RecordTodayRsp"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"CommonSimpleResponse": {
"title": "CommonSimpleResponse",
"type": "object",
"properties": {
"code": {
"title": "Code",
"type": "integer",
"description": "0 means success, non-zero means failure",
"default": 0
},
"msg": {
"title": "Msg",
"type": "string",
"description": "code detail description",
"default": ""
}
}
},
"RecordAddReq": {
"title": "RecordAddReq",
"required": [
"name",
"emoji",
"total_amount",
"moisture",
"when"
],
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"description": "name of drink"
},
"emoji": {
"title": "Emoji",
"type": "string",
"description": "drink emoji"
},
"total_amount": {
"title": "Total Amount",
"type": "integer",
"description": "the total amount of the drink this time,unit ml"
},
"moisture": {
"title": "Moisture",
"type": "integer",
"description": "the water content in the total amount of drinking this time,unit ml"
},
"when": {
"title": "When",
"type": "string",
"description": "water drinking time, the format like this:2006-01-02T15:04:05+07:00"
}
}
},
"RecordTodayRsp": {
"title": "RecordTodayRsp",
"type": "object",
"properties": {
"records": {
"title": "Records",
"type": "array",
"items": {
"type": "string"
},
"description": "drink records"
},
"details": {
"title": "Details",
"type": "string",
"description": "drinking water details",
"default": ""
},
"image": {
"title": "Image",
"type": "string",
"description": "target progress",
"default": ""
},
"EXTRA_INFORMATION_TO_ASSISTANT": {
"title": "Extra Information To Assistant",
"type": "string",
"description": "display guide",
"default": ""
},
"url": {
"title": "Url",
"type": "string",
"description": "more details url",
"default": ""
}
}
},
"UserGptInfoReq": {
"title": "UserGptInfoReq",
"type": "object",
"properties": {
"target": {
"title": "Target",
"type": "integer",
"description": "Target ml amount of drinking water per day",
"default": 2000
}
}
},
"UserGptInfoRsp": {
"title": "UserGptInfoRsp",
"type": "object",
"properties": {
"target": {
"title": "Target",
"type": "integer",
"description": "Target ml amount of drinking water per day",
"default": 2000
}
}
}
}
}
}
Discover other plugins from the health category

StuffThatWorks Health
Plugin for accessing health information and recommendations from StuffThatWorks.
0 Comments

MedQA
Access clinical guideline and reference material from sources like NCBI StatPearls.
0 Comments

alaga.ai_PH
Get the latest info about the health programs and services in the Philippines. Katuwang mo sa pag-aalaga ng pamilya!
0 Comments

AlbaDOC
Your trusted source for Canadian drug information.
0 Comments

AnaBot
AnaBot is a conversational guide for well-being industry insights and trends.
0 Comments