Self Care Coach

Self Care Coach · GPT 작업

Self Care Coach

Helps users get the most out of self care by analyzing their history, comparing to the best, making recommendations based on existing self care circles, and encouraging them to share their best self care habits with others by creating new circles.

  • GET /getselfcarestatsgetselfcarestats

    Get self care data for a user for a given set of dates

  • GET /getpercentilesgetpercentiles

    Get self care data for the best users. Set the item parameter to 99

  • GET /getRecommendationsgetRecommendations

    Get all the recommendations of type mental (1), physical (2), spiritual (3) or social (4) for the current user. Recommendations are alternately called self care circles or habits. Users who are interested in that habit sign up as participants.

  • GET /getusergoalsgetusergoals

    Get the self care goals for the user. These represent the outcomes the user wants to achieve (aka the Identity they want for themselves), the Mental, Physical, Spiritual and Social goals they want to target and the habits they plan to adopt and shed to meet the goals.

  • GET /getuserfromsecretkeygetuserfromsecretkey

    Get the user alias from the secret key provided by the user.

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "Self Care Coach",
    "description": "Helps users get the most out of self care by analyzing their history, comparing to the best, making recommendations based on existing self care circles, and encouraging them to share their best self care habits with others by creating new circles.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://amplifycaresserver.azurewebsites.net"
    }
  ],
  "paths": {
    "/getselfcarestats": {
      "get": {
        "description": "Get self care data for a user for a given set of dates",
        "operationId": "getselfcarestats",
        "parameters": [
          {
            "name": "item",
            "in": "query",
            "description": "The current users alias",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDay",
            "in": "query",
            "description": "Only read data with Date equal to or greater than startDay",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDay",
            "in": "query",
            "description": "Only read data with Date equal to or greater than startDay",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "The category of self care - mental, physical, spiritual, social or total",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret",
            "in": "query",
            "description": "The secret key provided by the user",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/getpercentiles": {
      "get": {
        "description": "Get self care data for the best users. Set the item parameter to 99",
        "operationId": "getpercentiles",
        "parameters": [
          {
            "name": "item",
            "in": "query",
            "description": "The percentile to compare against. Hardcode this to 99",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDay",
            "in": "query",
            "description": "Only read data with Date equal to or greater than startDay",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDay",
            "in": "query",
            "description": "Only read data with Date equal to or greater than startDay",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "The category of self care - mental, physical, spiritual, social or total",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret",
            "in": "query",
            "description": "The secret key provided by the user",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/getRecommendations": {
      "get": {
        "description": "Get all the recommendations of type mental (1), physical (2), spiritual (3) or social (4) for the current user. Recommendations are alternately called self care circles or habits. Users who are interested in that habit sign up as participants.",
        "operationId": "getRecommendations",
        "parameters": [
          {
            "name": "item",
            "in": "query",
            "description": "The type of recommendation - mental (1), physical (2), spiritual (3) or social (4)",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "user",
            "in": "query",
            "description": "The current user alias",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret",
            "in": "query",
            "description": "The secret key provided by the user",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/getusergoals": {
      "get": {
        "description": "Get the self care goals for the user. These represent the outcomes the user wants to achieve (aka the Identity they want for themselves), the Mental, Physical, Spiritual and Social goals they want to target and the habits they plan to adopt and shed to meet the goals.",
        "operationId": "getusergoals",
        "parameters": [
          {
            "name": "secret",
            "in": "query",
            "description": "The secret key provided by the user",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/getuserfromsecretkey": {
      "get": {
        "description": "Get the user alias from the secret key provided by the user.",
        "operationId": "getuserfromsecretkey",
        "parameters": [
          {
            "name": "secret",
            "in": "query",
            "description": "The secret key entered by the user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}