diff --git a/api-specs/konnect/dev-portal/v3/openapi.yaml b/api-specs/konnect/dev-portal/v3/openapi.yaml index 4954c746dd..178709f443 100644 --- a/api-specs/konnect/dev-portal/v3/openapi.yaml +++ b/api-specs/konnect/dev-portal/v3/openapi.yaml @@ -1,13 +1,13 @@ openapi: 3.0.3 info: title: Portal API - version: 3.3.2 + version: 3.3.3 description: Portal API contact: name: Kong url: 'https://cloud.konghq.com' - x-oas-source: kong/platform-api@b86de17dd121406f9a94d62b1ca4bd412d216992 - x-oas-source-link: 'https://github.com/Kong/platform-api/commit/b86de17dd121406f9a94d62b1ca4bd412d216992' + x-oas-source: kong/platform-api@1f49f503deacae7f5c273d918393c1bcb44df6f2 + x-oas-source-link: 'https://github.com/Kong/platform-api/commit/1f49f503deacae7f5c273d918393c1bcb44df6f2' servers: - url: 'https://custom.example.com' description: Production @@ -332,6 +332,10 @@ paths: - $ref: '#/components/parameters/FilterByNameContains' - $ref: '#/components/parameters/FilterByAuthStrategyEquality' - $ref: '#/components/parameters/FilterByAuthStrategyEqualityShort' + - $ref: '#/components/parameters/FilterByTeamIdEquality' + - $ref: '#/components/parameters/FilterByTeamIdEqualityShort' + - $ref: '#/components/parameters/FilterByTeamIdNotEquals' + - $ref: '#/components/parameters/FilterByTeamIdOneOf' responses: '200': $ref: '#/components/responses/ListApplications' @@ -1332,6 +1336,48 @@ components: - pending - rejected - revoked + FilterByTeamIdEquality: + name: 'filter[team_id][eq]' + description: | + Filter by the team that owns the application. Use a team UUID or the literal string `null` for individually owned apps (e.g. `filter[team_id][eq]=null`). + in: query + required: false + schema: + type: string + format: uuid + example: 5be86298-147b-45ab-bfaf-a1bff97dce39 + nullable: true + FilterByTeamIdEqualityShort: + name: 'filter[team_id]' + description: | + Filter by the team that owns the application (short-hand). Use a team UUID or the literal string `null` for individually owned apps (e.g. `filter[team_id]=null`). + in: query + required: false + schema: + type: string + format: uuid + example: 5be86298-147b-45ab-bfaf-a1bff97dce39 + nullable: true + FilterByTeamIdNotEquals: + name: 'filter[team_id][neq]' + description: | + Filter by excluding a team. Use the literal string `null` to get only team-owned apps (excludes individually owned) (e.g. `filter[team_id][neq]=null`). + in: query + required: false + schema: + type: string + format: uuid + example: null + nullable: true + FilterByTeamIdOneOf: + name: 'filter[team_id][oeq]' + description: | + Filter by apps owned by any of the given teams (comma-separated UUIDs). + in: query + required: false + schema: + type: string + example: '5be86298-147b-45ab-bfaf-a1bff97dce39,7ce96398-247b-45ab-bfaf-b2c008e8f6e4' FilterByTitleContains: name: 'filter[title][contains]' description: Filter by contains comparison of the title property with a supplied substring diff --git a/api-specs/konnect/notification-hub/v1/openapi.yaml b/api-specs/konnect/notification-hub/v1/openapi.yaml index 7133521ee6..e19a60e641 100644 --- a/api-specs/konnect/notification-hub/v1/openapi.yaml +++ b/api-specs/konnect/notification-hub/v1/openapi.yaml @@ -1,13 +1,13 @@ openapi: 3.0.2 info: title: Konnect Notification Hub - version: 1.0.0 + version: 1.0.1 description: Notification Hub API for Konnect. contact: name: Kong url: 'https://konghq.com' - x-oas-source: kong/platform-api@35679ffe8077f0abfe92d4a31d3ec47933d65e4c - x-oas-source-link: 'https://github.com/Kong/platform-api/commit/35679ffe8077f0abfe92d4a31d3ec47933d65e4c' + x-oas-source: kong/platform-api@db72b1ae548a532266c9ad412ed8a4c3a015488b + x-oas-source-link: 'https://github.com/Kong/platform-api/commit/db72b1ae548a532266c9ad412ed8a4c3a015488b' servers: - url: 'https://global.api.konghq.com/v1' description: Global Base URL @@ -279,6 +279,12 @@ components: schema: type: string schemas: + ListCursorMeta: + anyOf: + - $ref: '#/components/schemas/CursorMeta' + - allOf: + - $ref: '#/components/schemas/CursorMetaPage' + deprecated: true NotificationFilterParameters: type: object properties: @@ -404,6 +410,7 @@ components: - dataplane-group - dataplane - kai-enablement + - enterprise-trial UserConfiguration: description: Properties of an event. type: object @@ -591,6 +598,14 @@ components: - size - next - previous + CursorMeta: + description: Pagination metadata. + type: object + properties: + page: + $ref: '#/components/schemas/CursorMetaPage' + required: + - page BaseError: description: standard error type: object @@ -933,9 +948,10 @@ components: created_at: '2023-01-01T00:00:00.000Z' updated_at: '2023-01-01T00:00:00.000Z' meta: - next: '' - previous: '' - size: 10 + page: + next: '' + previous: '' + size: 10 EventSubscriptionPayload: value: name: Control Plane Global @@ -1002,9 +1018,10 @@ components: created_at: '2023-01-01T00:00:00.000Z' updated_at: '2023-01-01T00:00:00.000Z' meta: - next: '' - previous: '' - size: 10 + page: + next: '' + previous: '' + size: 10 EventSubscriptionResponse: value: id: 93f8380e-7798-4566-99e3-2edf2b57d292 @@ -1096,7 +1113,7 @@ components: items: $ref: '#/components/schemas/Notification' meta: - $ref: '#/components/schemas/CursorMetaPage' + $ref: '#/components/schemas/ListCursorMeta' additionalProperties: false required: - data @@ -1133,7 +1150,7 @@ components: items: $ref: '#/components/schemas/EventSubscriptionResponse' meta: - $ref: '#/components/schemas/CursorMetaPage' + $ref: '#/components/schemas/ListCursorMeta' additionalProperties: false required: - data