mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
Fix: update openapi snapshot
This commit is contained in:
parent
fcbcc152c2
commit
d38001f719
@ -822,6 +822,9 @@ Object {
|
|||||||
"toggleName": Object {
|
"toggleName": Object {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
},
|
},
|
||||||
|
"version": Object {
|
||||||
|
"type": "number",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"required": Array [
|
"required": Array [
|
||||||
"toggleName",
|
"toggleName",
|
||||||
@ -2961,7 +2964,20 @@ Object {
|
|||||||
},
|
},
|
||||||
"/api/admin/events": Object {
|
"/api/admin/events": Object {
|
||||||
"get": 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",
|
"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 {
|
"responses": Object {
|
||||||
"200": Object {
|
"200": Object {
|
||||||
"content": Object {
|
"content": Object {
|
||||||
@ -2973,19 +2989,24 @@ Object {
|
|||||||
},
|
},
|
||||||
"description": "eventsSchema",
|
"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 [
|
"tags": Array [
|
||||||
"admin",
|
"admin",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"/api/admin/events/{name}": Object {
|
"/api/admin/events/{featureName}": Object {
|
||||||
"get": 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",
|
"operationId": "getEventsForToggle",
|
||||||
"parameters": Array [
|
"parameters": Array [
|
||||||
Object {
|
Object {
|
||||||
"in": "path",
|
"in": "path",
|
||||||
"name": "name",
|
"name": "featureName",
|
||||||
"required": true,
|
"required": true,
|
||||||
"schema": Object {
|
"schema": Object {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -3003,7 +3024,11 @@ Object {
|
|||||||
},
|
},
|
||||||
"description": "featureEventsSchema",
|
"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 [
|
"tags": Array [
|
||||||
"admin",
|
"admin",
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user