mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
Fix: update openapi snapshot
This commit is contained in:
parent
fcbcc152c2
commit
d38001f719
@ -822,6 +822,9 @@ Object {
|
||||
"toggleName": Object {
|
||||
"type": "string",
|
||||
},
|
||||
"version": Object {
|
||||
"type": "number",
|
||||
},
|
||||
},
|
||||
"required": Array [
|
||||
"toggleName",
|
||||
@ -2961,7 +2964,20 @@ Object {
|
||||
},
|
||||
"/api/admin/events": Object {
|
||||
"get": Object {
|
||||
"description": "Returns **the last 100** from the Unleash instance when called without a query parameter. When called with a \`project\` parameter, returns **all events** for the specified project.
|
||||
|
||||
If the provided project does not exist, the list of events will be empty.",
|
||||
"operationId": "getEvents",
|
||||
"parameters": Array [
|
||||
Object {
|
||||
"description": "The name of the project whose events you want to retrieve",
|
||||
"in": "query",
|
||||
"name": "project",
|
||||
"schema": Object {
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
],
|
||||
"responses": Object {
|
||||
"200": Object {
|
||||
"content": Object {
|
||||
@ -2973,19 +2989,24 @@ Object {
|
||||
},
|
||||
"description": "eventsSchema",
|
||||
},
|
||||
"401": Object {
|
||||
"description": "Authorization information is missing or invalid. Provide a valid API token as the \`authorization\` header, e.g. \`authorization:*.*.my-admin-token\`.",
|
||||
},
|
||||
},
|
||||
"summary": "Get the most recent events from the Unleash instance or all events related to a project.",
|
||||
"tags": Array [
|
||||
"admin",
|
||||
],
|
||||
},
|
||||
},
|
||||
"/api/admin/events/{name}": Object {
|
||||
"/api/admin/events/{featureName}": Object {
|
||||
"get": Object {
|
||||
"description": "Returns all events related to the specified feature toggle. If the feature toggle does not exist, the list of events will be empty.",
|
||||
"operationId": "getEventsForToggle",
|
||||
"parameters": Array [
|
||||
Object {
|
||||
"in": "path",
|
||||
"name": "name",
|
||||
"name": "featureName",
|
||||
"required": true,
|
||||
"schema": Object {
|
||||
"type": "string",
|
||||
@ -3003,7 +3024,11 @@ Object {
|
||||
},
|
||||
"description": "featureEventsSchema",
|
||||
},
|
||||
"401": Object {
|
||||
"description": "Authorization information is missing or invalid. Provide a valid API token as the \`authorization\` header, e.g. \`authorization:*.*.my-admin-token\`.",
|
||||
},
|
||||
},
|
||||
"summary": "Get all events related to a specific feature toggle.",
|
||||
"tags": Array [
|
||||
"admin",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user