# 太陽と月と惑星一覧を取得

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /planet:
    get:
      summary: 太陽と月と惑星一覧を取得
      deprecated: false
      description: |-
        太陽、月、惑星に関する情報を取得します。

        <table class="bordertable">
        <thead>
        <tr><th>ID</th><th>星座</th></tr>
        </thead>
        <tbody>
        <tr><td>101</td><td>太陽</td></tr>
        <tr><td>102</td><td>水星</td></tr>
        <tr><td>103</td><td>金星</td></tr>
        <tr><td>106</td><td>月</td></tr>
        <tr><td>107</td><td>火星</td></tr>
        <tr><td>108</td><td>木星</td></tr>
        <tr><td>109</td><td>土星</td></tr>
        <tr><td>110</td><td>天王星</td></tr>
        <tr><td>111</td><td>海王星</td></tr>
        <tr><td>112</td><td>冥王星</td></tr>

        認証要件: Authorization ヘッダーに `Bearer {token}` を指定してください（Bearer の後ろは半角スペース）。
      operationId: get_planet_lat_lat_lng_lng_date_date_hour_hour_min_min_id_id
      tags: []
      parameters:
        - name: lat
          in: query
          description: 観測場所の緯度
          required: true
          example: 0
          schema:
            type: number
            examples:
              - 35.6581
        - name: lng
          in: query
          description: 観測場所の経度
          required: true
          example: 0
          schema:
            type: number
            examples:
              - 139.7414
        - name: date
          in: query
          description: 観測日
          required: true
          example: ''
          schema:
            type: string
            examples:
              - '2020-01-15'
        - name: hour
          in: query
          description: 観測時間（時）
          required: true
          example: ''
          schema:
            type: string
            examples:
              - '20'
        - name: min
          in: query
          description: 観測時間（分）
          required: true
          example: ''
          schema:
            type: string
            examples:
              - '00'
        - name: id
          in: query
          description: 惑星のID
          required: false
          example: ''
          schema:
            type: string
            examples:
              - '101'
      responses:
        '200':
          description: HTTP 200 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  _links:
                    type: object
                    properties:
                      self:
                        type: object
                        properties:
                          href:
                            type: string
                        x-apidog-orders:
                          - href
                    x-apidog-orders:
                      - self
                  errors:
                    type: string
                    nullable: true
                  metadata:
                    type: object
                    properties:
                      detail:
                        type: string
                      status:
                        type: integer
                      title:
                        type: string
                    x-apidog-orders:
                      - detail
                      - status
                      - title
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        altitude:
                          type: string
                        altitudeNum:
                          type: number
                        confirmed:
                          type: string
                        content:
                          type: string
                        direction:
                          type: string
                        directionNum:
                          type: number
                        drowing:
                          type: string
                        eclipticalFlag:
                          type: string
                        enName:
                          type: string
                        id:
                          type: string
                        jpName:
                          type: string
                        origin:
                          type: string
                        ptolemyFlag:
                          type: string
                        roughly:
                          type: string
                        ryaku:
                          type: string
                        season:
                          type: string
                        starIcon:
                          type: string
                        starImage:
                          type: string
                      x-apidog-orders:
                        - altitude
                        - altitudeNum
                        - confirmed
                        - content
                        - direction
                        - directionNum
                        - drowing
                        - eclipticalFlag
                        - enName
                        - id
                        - jpName
                        - origin
                        - ptolemyFlag
                        - roughly
                        - ryaku
                        - season
                        - starIcon
                        - starImage
                x-apidog-orders:
                  - _links
                  - errors
                  - metadata
                  - results
              example:
                _links:
                  self:
                    href: /planet
                errors: null
                metadata:
                  detail: The request sent by the client was successful.
                  status: 200
                  title: OK
                results:
                  - altitude: 水平線の下
                    altitudeNum: -47.48
                    confirmed: ''
                    content: >-
                      太陽（たいよう、英: Sun、羅:
                      Sol）は、銀河系（天の川銀河）の恒星の一つである。人類が住む地球を含む太陽系の物理的中心であり、太陽系の全質量の99.86%を占め、太陽系の全天体に重力の影響を与える。
                    direction: 西
                    directionNum: 277.45
                    drowing: ''
                    eclipticalFlag: ''
                    enName: sun
                    id: '101'
                    jpName: 太陽
                    origin: >-
                      太古の時代から、太陽を人格として捉えた太陽神は世界の多くの神話・伝承などで最高神などとして描かれることが多く、太陽崇拝の対象であることも多い。その性質も、昼夜を分け世界を統治する男性神でもあれば、植物を育て恵みを与える女性神として考えられることもあった。月とともに普遍的な太陽神についての誕生や成立に関する説話は世界各地に伝記および伝承などの形で残されている。
                    ptolemyFlag: ''
                    roughly: ''
                    ryaku: ''
                    season: ''
                    starIcon: ''
                    starImage: >-
                      https://rad-pegasus-bb29eb.netlify.app/www/hoshimiru/img/planet/sun.jpg
          headers: {}
          x-apidog-name: ''
      security:
        - bearer: []
      x-apidog-folder: ''
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1253496/apis/api-32979473-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: jwt
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://app.livlog.xyz/hoshimiru
    description: 本番環境
security: []

```
