# Review List

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /reviews:
    get:
      summary: Review List
      deprecated: false
      description: ''
      tags:
        - Review
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        customer_id:
                          type: integer
                        product_id:
                          type: integer
                        order_item_id:
                          type: integer
                        customer_name:
                          type: string
                        customer_avatar:
                          type: string
                        rating:
                          type: integer
                        title:
                          type: string
                        content:
                          type: string
                        like:
                          type: integer
                        dislike:
                          type: integer
                        active:
                          type: integer
                        created_at:
                          type: string
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                      last:
                        type: string
                      prev:
                        type: 'null'
                      next:
                        type: 'null'
                    required:
                      - first
                      - last
                      - prev
                      - next
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                      from:
                        type: integer
                      last_page:
                        type: integer
                      links:
                        type: array
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              nullable: true
                            label:
                              type: string
                            active:
                              type: boolean
                          required:
                            - url
                            - label
                            - active
                      path:
                        type: string
                      per_page:
                        type: integer
                      to:
                        type: integer
                      total:
                        type: integer
                    required:
                      - current_page
                      - from
                      - last_page
                      - links
                      - path
                      - per_page
                      - to
                      - total
                required:
                  - data
                  - links
                  - meta
              example:
                data:
                  - id: 1
                    customer_id: 24
                    product_id: 1
                    order_item_id: 98
                    customer_name: '1234'
                    customer_avatar: >-
                      https://api.innoshop.net/cache/storage/common/5m32oVWNZaylsKy9PPHl8FTCSuftUeBk4aolGRJ3-100x100.png
                    rating: 5
                    title: '666'
                    content: '666'
                    like: 0
                    dislike: 0
                    active: 1
                    created_at: '2024-09-01T03:24:43.000000Z'
                links:
                  first: https://api.innoshop.net/api/reviews?page=1
                  last: https://api.innoshop.net/api/reviews?page=1
                  prev: null
                  next: null
                meta:
                  current_page: 1
                  from: 1
                  last_page: 1
                  links:
                    - url: null
                      label: '&laquo; 上一页'
                      active: false
                    - url: https://api.innoshop.net/api/reviews?page=1
                      label: '1'
                      active: true
                    - url: null
                      label: 下一页 &raquo;
                      active: false
                  path: https://api.innoshop.net/api/reviews
                  per_page: 15
                  to: 1
                  total: 1
          headers: {}
          x-apifox-name: OK
      security:
        - bearer: []
      x-apifox-folder: Review
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/2760494/apis/api-208208528-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.innoshop.net/api
    description: 开发环境
security:
  - bearer: []

```
