blob: b509009a907addacb03461a0460553b3e08a8a97 [file]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
get:
summary: List All Plugin Metadata
description: Retrieve metadata for all plugins that have metadata configured.
tags:
- Plugin Metadata
parameters:
- $ref: ../components/parameters/Page.yaml
- $ref: ../components/parameters/PageSize.yaml
responses:
"200":
description: Successful response.
content:
application/json:
schema:
type: object
properties:
list:
description: A list of plugin metadata.
type: array
items:
type: object
properties:
value:
description: Plugin metadata values.
type: object
properties: {}
key:
description: Unique key identifier for this plugin metadata in the data store.
type: string
modifiedIndex:
description: The index number representing the most recent update to the object. It starts with the same value as `createdIndex` and increases by 1 each time the resource is modified.
type: integer
createdIndex:
description: The index number representing when the object was first created. It indicates the creation order of the resource.
type: integer
total:
description: Total number of plugin metadata entries available.
type: integer
examples:
"1":
summary: Successful Example
value:
list:
- value:
log_format:
host: $host
"@timestamp": $time_iso8601
client_ip: $remote_addr
key: /apisix/plugin_metadata/syslog
modifiedIndex: 283
createdIndex: 283
total: 1
"401":
$ref: ../components/responses/Unauthorized.yaml
"503":
$ref: ../components/responses/BadRequest.yaml
description: Storage access or write failed.
operationId: listPluginMetadata