직업 추천 요정, 담비 (휴먼디자인 성향분석 직업추천) human design

직업 추천 요정, 담비 (휴먼디자인 성향분석 직업추천) human design · GPT-Aktionen

Chart and Location Data API

  • GET /chart/citiesRetrieves city information including placeId based on a query.
  • POST /chart/profileCreates a personal chart based on user details and location.
Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "Chart and Location Data API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.i-manual.co.kr/api/v1/open"
    }
  ],
  "paths": {
    "/chart/cities": {
      "get": {
        "operationId": "queryCity",
        "summary": "Retrieves city information including placeId based on a query.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "default": "서울"
            },
            "description": "City information to query, e.g., 서울, seoul, 부산."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "header": {
                      "type": "object",
                      "properties": {
                        "resultCode": {
                          "type": "integer"
                        },
                        "resultMessage": {
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "placeId": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/chart/profile": {
      "post": {
        "operationId": "createPersonalChart",
        "summary": "Creates a personal chart based on user details and location.",
        "headers": {
          "lang": {
            "required": true,
            "schema": {
              "type": "integer",
              "default": 1000
            }
          }
        },
        "requestBody": {
          "required": true,
          "headers": {
            "lang": {
              "schema": {
                "type": "integer",
                "default": 1000
              }
            }
          },
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "displayName": {
                    "type": "string"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "M",
                      "F"
                    ]
                  },
                  "year": {
                    "type": "integer"
                  },
                  "month": {
                    "type": "integer"
                  },
                  "date": {
                    "type": "integer"
                  },
                  "hours": {
                    "type": "integer"
                  },
                  "minutes": {
                    "type": "integer"
                  },
                  "placeId": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "langIdx": {
                    "type": "integer",
                    "default": 1000
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Personal chart created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "header": {
                      "type": "object",
                      "properties": {
                        "resultCode": {
                          "type": "integer"
                        },
                        "resultMessage": {
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "result": {
                          "type": "object",
                          "properties": {
                            "idx": {
                              "type": "integer"
                            },
                            "displayName": {
                              "type": "string"
                            },
                            "gender": {
                              "type": "string"
                            },
                            "birthdayLocal": {
                              "type": "integer"
                            },
                            "birthdayUtc": {
                              "type": "integer"
                            },
                            "placeId": {
                              "type": "string"
                            },
                            "country": {
                              "type": "string"
                            },
                            "city": {
                              "type": "string"
                            },
                            "gmt": {
                              "type": "number"
                            },
                            "type": {
                              "type": "integer"
                            },
                            "profile": {
                              "type": "integer"
                            },
                            "definition": {
                              "type": "integer"
                            },
                            "authority": {
                              "type": "integer"
                            },
                            "battery": {
                              "type": "integer"
                            },
                            "cross": {
                              "type": "integer"
                            },
                            "variables": {
                              "type": "integer"
                            },
                            "directionResource": {
                              "type": "object",
                              "nullable": true
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}