示例

GET /api/plugins
200
{
  "total": 4,
  "subtotal": 4,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "id": "awesome_provision",
      "name": "Awesome provision",
      "author": null,
      "description": null,
      "url": null,
      "version": null
    },
    {
      "id": "existing_plugin",
      "name": null,
      "author": null,
      "description": null,
      "url": null,
      "version": null
    },
    {
      "id": "plugin_with_global_js",
      "name": null,
      "author": null,
      "description": null,
      "url": null,
      "version": null
    },
    {
      "id": "skip_test",
      "name": null,
      "author": null,
      "description": null,
      "url": null,
      "version": null
    }
  ]
}

参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer