Skip to content

Node.js based forum software built for the modern web

test: update spec on plugins

Barış Soner Uşaklıf9178a3996f3
diff --git a/public/openapi/read/admin/extend/plugins.yaml b/public/openapi/read/admin/extend/plugins.yaml
index cd36a779fa..d7a2a0f96d 100644
--- a/public/openapi/read/admin/extend/plugins.yaml
+++ b/public/openapi/read/admin/extend/plugins.yaml
@@ -68,8 +68,120 @@ get:
- outdated
installedCount:
type: number
+ active:
+ type: array
+ items:
+ type: object
+ properties:
+ latest:
+ type: string
+ description:
+ type: string
+ name:
+ type: string
+ updated:
+ type: string
+ url:
+ type: string
+ numInstalls:
+ type: number
+ isCompatible:
+ type: boolean
+ id:
+ type: string
+ installed:
+ type: boolean
+ active:
+ type: boolean
+ isTheme:
+ type: boolean
+ error:
+ type: boolean
+ version:
+ type: string
+ license:
+ type: object
+ properties:
+ name:
+ type: string
+ text:
+ type: string
+ nullable: true
+ outdated:
+ type: boolean
+ settingsRoute:
+ type: string
+ required:
+ - latest
+ - description
+ - name
+ - id
+ - installed
+ - active
+ - isTheme
+ - error
+ - version
+ - license
+ - outdated
activeCount:
type: number
+ inactive:
+ type: array
+ items:
+ type: object
+ properties:
+ latest:
+ type: string
+ description:
+ type: string
+ name:
+ type: string
+ updated:
+ type: string
+ url:
+ type: string
+ numInstalls:
+ type: number
+ isCompatible:
+ type: boolean
+ id:
+ type: string
+ installed:
+ type: boolean
+ active:
+ type: boolean
+ isTheme:
+ type: boolean
+ error:
+ type: boolean
+ version:
+ type: string
+ license:
+ type: object
+ properties:
+ name:
+ type: string
+ text:
+ type: string
+ nullable: true
+ downloads:
+ type: number
+ outdated:
+ type: boolean
+ settingsRoute:
+ type: string
+ required:
+ - latest
+ - description
+ - name
+ - id
+ - installed
+ - active
+ - isTheme
+ - error
+ - version
+ - license
+ - outdated
inactiveCount:
type: number
canChangeState:
@@ -111,6 +223,41 @@ get:
- id
- installed
- active
+ upgrade:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ updated:
+ type: string
+ description:
+ type: string
+ latest:
+ type: string
+ url:
+ type: string
+ numInstalls:
+ type: number
+ isCompatible:
+ type: boolean
+ id:
+ type: string
+ installed:
+ type: boolean
+ active:
+ type: boolean
+ required:
+ - name
+ - updated
+ - latest
+ - url
+ - numInstalls
+ - isCompatible
+ - id
+ - installed
+ - active
incompatible:
type: array
items: