mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
add api tag to api routes (#12948)
- adds api tag to import/export and status routes
This commit is contained in:
parent
c3713a8ef0
commit
52e5d45f69
3 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,7 @@ export function exportApi(server) {
|
|||
).required()
|
||||
})
|
||||
},
|
||||
tags: ['api'],
|
||||
},
|
||||
method: ['GET'],
|
||||
handler: (req, reply) => {
|
||||
|
|
|
@ -17,6 +17,7 @@ export function importApi(server) {
|
|||
exclude: [Joi.string(), Joi.array().items(Joi.string())]
|
||||
})
|
||||
},
|
||||
tags: ['api'],
|
||||
},
|
||||
|
||||
handler: (req, reply) => {
|
||||
|
|
|
@ -18,6 +18,9 @@ export default function (kbnServer, server, config) {
|
|||
server.route(wrapAuth({
|
||||
method: 'GET',
|
||||
path: '/api/status',
|
||||
config: {
|
||||
tags: ['api']
|
||||
},
|
||||
handler: function (request, reply) {
|
||||
const status = {
|
||||
name: config.get('server.name'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue