Skip to content

Node.js based forum software built for the modern web

3.4 KB
Raw Blame
get:
  tags:
    - admin
  summary: Get widget settings
  responses:
    "200":
      description: ""
      content:
        application/json:
          schema:
            allOf:
              - type: object
                properties:
                  templates:
                    type: array
                    items:
                      type: object
                      properties:
                        template:
                          type: string
                        areas:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              location:
                                type: string
                        widgetCount:
                          type: number
                          description: Number of widgets on this template
                  areas:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        template:
                          type: string
                        location:
                          type: string
                        data:
                          type: array
                          items:
                            type: object
                            properties:
                              widget:
                                type: string
                              data:
                                type: object
                                properties:
                                  html:
                                    type: string
                                  cid:
                                    type: string
                                  title:
                                    type: string
                                  container:
                                    type: string
                                  groups:
                                    type: array
                                    items: {}
                                  groupsHideFrom:
                                    type: array
                                    items: {}
                                  hide-mobile:
                                    type: string
                                  numTags:
                                    type: string
                                  numUsers:
                                    type: string
                                  text:
                                    type: string
                                  parseAsPost:
                                    type: string
                                  numTopics:
                                    type: string
                  availableWidgets:
                    type: array
                    items:
                      type: object
                      properties:
                        widget:
                          type: string
                        name:
                          type: string
                        description:
                          type: string
                        content:
                          type: string
              - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps