From b48a75b977b494cd06d36cbafbd7437f982f779a Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 11:14:53 +0800 Subject: [PATCH 1/8] fix: sync developer portal openapi spec --- .../version-plan-1779246751432.md | 5 +++ packages/portal-sdk/openapi.yaml | 35 +++++++++++++++++-- packages/portal-sdk/src/generated/sdk.gen.ts | 12 +++---- .../portal-sdk/src/generated/types.gen.ts | 30 +++++++++------- 4 files changed, 60 insertions(+), 22 deletions(-) create mode 100644 .nx/version-plans/version-plan-1779246751432.md diff --git a/.nx/version-plans/version-plan-1779246751432.md b/.nx/version-plans/version-plan-1779246751432.md new file mode 100644 index 0000000..f2f1cb6 --- /dev/null +++ b/.nx/version-plans/version-plan-1779246751432.md @@ -0,0 +1,5 @@ +--- +portal-sdk: patch +--- + +Fix Developer Portal OpenAPI metadata and request body types diff --git a/packages/portal-sdk/openapi.yaml b/packages/portal-sdk/openapi.yaml index 4efcdf7..6cee2d4 100644 --- a/packages/portal-sdk/openapi.yaml +++ b/packages/portal-sdk/openapi.yaml @@ -1,11 +1,24 @@ openapi: 3.0.1 info: title: API7 Enterprise Developer Portal APIs - description: "API7 Enterprise Developer Portal APIs are RESTful APIs that allow you to create and manage developer portal resources. " + description: |- + API7 Enterprise Developer Portal APIs are RESTful APIs that allow you to create and manage developer portal resources. + + ## Base URL + + All API paths are relative to your API7 Developer Portal address, e.g. `https://your-api7-developer-portal`. + + ## Authentication + + Every request must include both credentials: + + - **Bearer Token**: Pass a valid Developer Portal token in the `Authorization` HTTP header. + - **Developer ID**: Pass the active developer ID in the `X-Portal-Developer-ID` HTTP header. version: 0.11.0 servers: [] security: - BearerAuth: [] + DeveloperIDHeader: [] paths: /api/developers: get: @@ -34,6 +47,7 @@ paths: summary: Create a developer operationId: createDeveloper requestBody: + required: true content: application/json: schema: @@ -117,6 +131,7 @@ paths: parameters: - $ref: "#/components/parameters/APIProductID" requestBody: + required: true content: application/json: schema: @@ -160,6 +175,7 @@ paths: summary: Create a subscription for an API Product operationId: createSubscription requestBody: + required: true content: application/json: schema: @@ -199,6 +215,7 @@ paths: summary: Create an application by the logged in developer. operationId: createDeveloperApplication requestBody: + required: true content: application/json: schema: @@ -261,6 +278,7 @@ paths: parameters: - $ref: "#/components/parameters/ApplicationID" requestBody: + required: true content: application/json: schema: @@ -303,6 +321,7 @@ paths: parameters: - $ref: "#/components/parameters/ApplicationID" requestBody: + required: true content: application/json: schema: @@ -369,6 +388,7 @@ paths: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/ApplicationCredentialID" requestBody: + required: true content: application/json: schema: @@ -413,6 +433,7 @@ paths: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/ApplicationCredentialID" requestBody: + required: true content: application/json: schema: @@ -549,6 +570,10 @@ components: BearerAuth: type: http scheme: bearer + DeveloperIDHeader: + type: apiKey + in: header + name: X-Portal-Developer-ID schemas: ID: description: The object ID. @@ -615,7 +640,7 @@ components: required: - id - name - - status + - state - created_at - updated_at properties: @@ -626,6 +651,10 @@ components: type: string description: Developer name. example: dev one + state: + type: string + description: Developer state. + example: active last_active_at: $ref: "#/components/schemas/DateTime" created_at: @@ -1364,7 +1393,7 @@ components: enum: - created_at - updated_at - description: "Ascending or descending order to list the resources, by `created_at` or `updated_by` configured in `order_by`." + description: "Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`." Search: name: search in: query diff --git a/packages/portal-sdk/src/generated/sdk.gen.ts b/packages/portal-sdk/src/generated/sdk.gen.ts index e40a214..d4d3f12 100644 --- a/packages/portal-sdk/src/generated/sdk.gen.ts +++ b/packages/portal-sdk/src/generated/sdk.gen.ts @@ -32,14 +32,14 @@ export const listDevelopers = (options?: O /** * Create a developer */ -export const createDeveloper = (options?: Options) => (options?.client ?? client).post({ +export const createDeveloper = (options: Options) => (options.client ?? client).post({ responseTransformer: createDeveloperResponseTransformer, responseType: 'json', url: '/api/developers', ...options, headers: { 'Content-Type': 'application/json', - ...options?.headers + ...options.headers } }); @@ -91,12 +91,12 @@ export const listSubscriptions = (options? /** * Create a subscription for an API Product */ -export const createSubscription = (options?: Options) => (options?.client ?? client).post({ +export const createSubscription = (options: Options) => (options.client ?? client).post({ url: '/api/subscriptions', ...options, headers: { 'Content-Type': 'application/json', - ...options?.headers + ...options.headers } }); @@ -118,14 +118,14 @@ export const listDeveloperApplications = ( /** * Create an application by the logged in developer. */ -export const createDeveloperApplication = (options?: Options) => (options?.client ?? client).post({ +export const createDeveloperApplication = (options: Options) => (options.client ?? client).post({ responseTransformer: createDeveloperApplicationResponseTransformer, responseType: 'json', url: '/api/applications', ...options, headers: { 'Content-Type': 'application/json', - ...options?.headers + ...options.headers } }); diff --git a/packages/portal-sdk/src/generated/types.gen.ts b/packages/portal-sdk/src/generated/types.gen.ts index da168a5..bf24ef8 100644 --- a/packages/portal-sdk/src/generated/types.gen.ts +++ b/packages/portal-sdk/src/generated/types.gen.ts @@ -53,6 +53,10 @@ export type Developer = { * Developer name. */ name: string; + /** + * Developer state. + */ + state: string; last_active_at?: DateTime; created_at: DateTime; updated_at: DateTime; @@ -574,12 +578,12 @@ export const Direction = { ASC: 'asc', DESC: 'desc' } as const; export type Direction = typeof Direction[keyof typeof Direction]; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_by` configured in `order_by`. + * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. */ export const OrderBy = { CREATED_AT: 'created_at', UPDATED_AT: 'updated_at' } as const; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_by` configured in `order_by`. + * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. */ export type OrderBy = typeof OrderBy[keyof typeof OrderBy]; @@ -774,7 +778,7 @@ export type ListDevelopersResponses = { export type ListDevelopersResponse = ListDevelopersResponses[keyof ListDevelopersResponses]; export type CreateDeveloperData = { - body?: CreateDeveloperReq; + body: CreateDeveloperReq; path?: never; query?: never; url: '/api/developers'; @@ -907,7 +911,7 @@ export type ListApiProductsData = { */ direction?: 'asc' | 'desc'; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_by` configured in `order_by`. + * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. */ order_by?: 'created_at' | 'updated_at'; /** @@ -1034,7 +1038,7 @@ export type GetApiProductResponses = { export type GetApiProductResponse = GetApiProductResponses[keyof GetApiProductResponses]; export type CreateApiProductSubscriptionData = { - body?: CreateApiProductSubscriptionReq; + body: CreateApiProductSubscriptionReq; path: { /** * The unique identifier of the API product. @@ -1166,7 +1170,7 @@ export type ListSubscriptionsResponses = { export type ListSubscriptionsResponse = ListSubscriptionsResponses[keyof ListSubscriptionsResponses]; export type CreateSubscriptionData = { - body?: CreateSubscriptionReq; + body: CreateSubscriptionReq; path?: never; query?: never; url: '/api/subscriptions'; @@ -1297,7 +1301,7 @@ export type ListDeveloperApplicationsData = { */ labels?: string; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_by` configured in `order_by`. + * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. */ order_by?: 'created_at' | 'updated_at'; /** @@ -1364,7 +1368,7 @@ export type ListDeveloperApplicationsResponses = { export type ListDeveloperApplicationsResponse = ListDeveloperApplicationsResponses[keyof ListDeveloperApplicationsResponses]; export type CreateDeveloperApplicationData = { - body?: CreateDeveloperApplicationReq; + body: CreateDeveloperApplicationReq; path?: never; query?: never; url: '/api/applications'; @@ -1541,7 +1545,7 @@ export type GetDeveloperApplicationResponses = { export type GetDeveloperApplicationResponse = GetDeveloperApplicationResponses[keyof GetDeveloperApplicationResponses]; export type UpdateDeveloperApplicationData = { - body?: CreateDeveloperApplicationReq; + body: CreateDeveloperApplicationReq; path: { application_id: Id; }; @@ -1695,7 +1699,7 @@ export type ListApplicationCredentialsResponses = { export type ListApplicationCredentialsResponse = ListApplicationCredentialsResponses[keyof ListApplicationCredentialsResponses]; export type CreateApplicationCredentialData = { - body?: CreateApplicationCredentialReq; + body: CreateApplicationCredentialReq; path: { application_id: Id; }; @@ -1882,7 +1886,7 @@ export type GetApplicationCredentialResponses = { export type GetApplicationCredentialResponse = GetApplicationCredentialResponses[keyof GetApplicationCredentialResponses]; export type UpsertApplicationCredentialData = { - body?: UpdateApplicationCredentialReq; + body: UpdateApplicationCredentialReq; path: { application_id: Id; /** @@ -1949,7 +1953,7 @@ export type UpsertApplicationCredentialResponses = { export type UpsertApplicationCredentialResponse = UpsertApplicationCredentialResponses[keyof UpsertApplicationCredentialResponses]; export type RegenerateApplicationCredentialData = { - body?: RegenerateApplicationCredentialReq; + body: RegenerateApplicationCredentialReq; path: { application_id: Id; /** @@ -2331,7 +2335,7 @@ export type ListDcrProvidersData = { */ direction?: 'asc' | 'desc'; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_by` configured in `order_by`. + * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. */ order_by?: 'created_at' | 'updated_at'; /** From 1ca42270837330d601892a7c1ddb9ad2d52aeef6 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 11:20:04 +0800 Subject: [PATCH 2/8] fix: clarify order_by description --- packages/portal-sdk/openapi.yaml | 2 +- packages/portal-sdk/src/generated/types.gen.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/portal-sdk/openapi.yaml b/packages/portal-sdk/openapi.yaml index 6cee2d4..73d98eb 100644 --- a/packages/portal-sdk/openapi.yaml +++ b/packages/portal-sdk/openapi.yaml @@ -1393,7 +1393,7 @@ components: enum: - created_at - updated_at - description: "Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`." + description: "Field used to order resources, either `created_at` or `updated_at`." Search: name: search in: query diff --git a/packages/portal-sdk/src/generated/types.gen.ts b/packages/portal-sdk/src/generated/types.gen.ts index bf24ef8..7ba8a9f 100644 --- a/packages/portal-sdk/src/generated/types.gen.ts +++ b/packages/portal-sdk/src/generated/types.gen.ts @@ -578,12 +578,12 @@ export const Direction = { ASC: 'asc', DESC: 'desc' } as const; export type Direction = typeof Direction[keyof typeof Direction]; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. + * Field used to order resources, either `created_at` or `updated_at`. */ export const OrderBy = { CREATED_AT: 'created_at', UPDATED_AT: 'updated_at' } as const; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. + * Field used to order resources, either `created_at` or `updated_at`. */ export type OrderBy = typeof OrderBy[keyof typeof OrderBy]; @@ -911,7 +911,7 @@ export type ListApiProductsData = { */ direction?: 'asc' | 'desc'; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. + * Field used to order resources, either `created_at` or `updated_at`. */ order_by?: 'created_at' | 'updated_at'; /** @@ -1301,7 +1301,7 @@ export type ListDeveloperApplicationsData = { */ labels?: string; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. + * Field used to order resources, either `created_at` or `updated_at`. */ order_by?: 'created_at' | 'updated_at'; /** @@ -2335,7 +2335,7 @@ export type ListDcrProvidersData = { */ direction?: 'asc' | 'desc'; /** - * Ascending or descending order to list the resources, by `created_at` or `updated_at` configured in `order_by`. + * Field used to order resources, either `created_at` or `updated_at`. */ order_by?: 'created_at' | 'updated_at'; /** From bc3a38b627447eef4a2ae2e296934ddb4ff16d7a Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 11:21:02 +0800 Subject: [PATCH 3/8] fix: mark sdk openapi sync as major --- .nx/version-plans/version-plan-1779246751432.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.nx/version-plans/version-plan-1779246751432.md b/.nx/version-plans/version-plan-1779246751432.md index f2f1cb6..fb7b387 100644 --- a/.nx/version-plans/version-plan-1779246751432.md +++ b/.nx/version-plans/version-plan-1779246751432.md @@ -1,5 +1,7 @@ --- -portal-sdk: patch +portal-sdk: major --- -Fix Developer Portal OpenAPI metadata and request body types +Fix Developer Portal OpenAPI metadata and request body types. + +This corrects the generated `Developer` type from `status` to `state` to match the API response. From 516930667282b8d4b9de79baf0927f7c306ed847 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 14:30:06 +0800 Subject: [PATCH 4/8] fix: avoid exposing developer state --- .nx/version-plans/version-plan-1779246751432.md | 4 +--- packages/portal-sdk/openapi.yaml | 5 ----- packages/portal-sdk/src/generated/types.gen.ts | 4 ---- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.nx/version-plans/version-plan-1779246751432.md b/.nx/version-plans/version-plan-1779246751432.md index fb7b387..0feac6c 100644 --- a/.nx/version-plans/version-plan-1779246751432.md +++ b/.nx/version-plans/version-plan-1779246751432.md @@ -1,7 +1,5 @@ --- -portal-sdk: major +portal-sdk: minor --- Fix Developer Portal OpenAPI metadata and request body types. - -This corrects the generated `Developer` type from `status` to `state` to match the API response. diff --git a/packages/portal-sdk/openapi.yaml b/packages/portal-sdk/openapi.yaml index 73d98eb..86ddf36 100644 --- a/packages/portal-sdk/openapi.yaml +++ b/packages/portal-sdk/openapi.yaml @@ -640,7 +640,6 @@ components: required: - id - name - - state - created_at - updated_at properties: @@ -651,10 +650,6 @@ components: type: string description: Developer name. example: dev one - state: - type: string - description: Developer state. - example: active last_active_at: $ref: "#/components/schemas/DateTime" created_at: diff --git a/packages/portal-sdk/src/generated/types.gen.ts b/packages/portal-sdk/src/generated/types.gen.ts index 7ba8a9f..0237c92 100644 --- a/packages/portal-sdk/src/generated/types.gen.ts +++ b/packages/portal-sdk/src/generated/types.gen.ts @@ -53,10 +53,6 @@ export type Developer = { * Developer name. */ name: string; - /** - * Developer state. - */ - state: string; last_active_at?: DateTime; created_at: DateTime; updated_at: DateTime; From e674a1fd10954b64c962f127f056aedf34c014cd Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 14:41:07 +0800 Subject: [PATCH 5/8] fix: scope developer id security --- packages/portal-sdk/openapi.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/portal-sdk/openapi.yaml b/packages/portal-sdk/openapi.yaml index 86ddf36..399d9e2 100644 --- a/packages/portal-sdk/openapi.yaml +++ b/packages/portal-sdk/openapi.yaml @@ -10,10 +10,13 @@ info: ## Authentication - Every request must include both credentials: + Every request must include a Developer Portal token: - **Bearer Token**: Pass a valid Developer Portal token in the `Authorization` HTTP header. - - **Developer ID**: Pass the active developer ID in the `X-Portal-Developer-ID` HTTP header. + + Most developer resource requests must also include the active developer ID: + + - **Developer ID**: Pass the active developer ID in the `X-Portal-Developer-ID` HTTP header where required by the operation. version: 0.11.0 servers: [] security: @@ -26,6 +29,8 @@ paths: - Developer summary: List Developers operationId: listDevelopers + security: + - BearerAuth: [] parameters: - $ref: "#/components/parameters/Page" - $ref: "#/components/parameters/PageSize" @@ -46,6 +51,8 @@ paths: - Developer summary: Create a developer operationId: createDeveloper + security: + - BearerAuth: [] requestBody: required: true content: @@ -67,6 +74,8 @@ paths: - Developer summary: Delete a developer operationId: deleteDeveloper + security: + - BearerAuth: [] parameters: - $ref: "#/components/parameters/DeveloperID" responses: @@ -535,6 +544,8 @@ paths: - System Settings summary: Get public access settings operationId: getPublicAccessSettings + security: + - BearerAuth: [] responses: "200": $ref: "#/components/responses/PortalPublicAccessResponse" From 4654e966f8b9c9559e6bd6739563965a186dd505 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 14:54:48 +0800 Subject: [PATCH 6/8] fix: mark portal sdk bump as major --- .nx/version-plans/version-plan-1779246751432.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nx/version-plans/version-plan-1779246751432.md b/.nx/version-plans/version-plan-1779246751432.md index 0feac6c..e46ff94 100644 --- a/.nx/version-plans/version-plan-1779246751432.md +++ b/.nx/version-plans/version-plan-1779246751432.md @@ -1,5 +1,5 @@ --- -portal-sdk: minor +portal-sdk: major --- Fix Developer Portal OpenAPI metadata and request body types. From febebeb18e88b9afbfe16c60baa9edff10a01df1 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 16:06:42 +0800 Subject: [PATCH 7/8] fix: scope api product security --- packages/portal-sdk/openapi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/portal-sdk/openapi.yaml b/packages/portal-sdk/openapi.yaml index 399d9e2..d08f458 100644 --- a/packages/portal-sdk/openapi.yaml +++ b/packages/portal-sdk/openapi.yaml @@ -95,6 +95,8 @@ paths: - API Product summary: List all API products operationId: listAPIProducts + security: + - BearerAuth: [] parameters: - $ref: "#/components/parameters/Page" - $ref: "#/components/parameters/PageSize" @@ -118,6 +120,8 @@ paths: - API Product summary: Get an API Product for Developer Portal operationId: getAPIProduct + security: + - BearerAuth: [] parameters: - $ref: "#/components/parameters/APIProductID" responses: From 5b6ac4e56a402e21450a4b459548109b530a2416 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 20 May 2026 16:18:57 +0800 Subject: [PATCH 8/8] fix: scope developer id security --- packages/portal-sdk/openapi.yaml | 61 +++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/packages/portal-sdk/openapi.yaml b/packages/portal-sdk/openapi.yaml index d08f458..b130ea3 100644 --- a/packages/portal-sdk/openapi.yaml +++ b/packages/portal-sdk/openapi.yaml @@ -21,7 +21,6 @@ info: servers: [] security: - BearerAuth: [] - DeveloperIDHeader: [] paths: /api/developers: get: @@ -141,6 +140,9 @@ paths: - API Product summary: Create a subscription for an API Product. operationId: createAPIProductSubscription + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/APIProductID" requestBody: @@ -164,6 +166,9 @@ paths: - Subscription summary: List subscriptions. operationId: listSubscriptions + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/APIProductIDInQuery" - $ref: "#/components/parameters/ApplicationIDInQuery" @@ -187,6 +192,9 @@ paths: - Subscription summary: Create a subscription for an API Product operationId: createSubscription + security: + - BearerAuth: [] + DeveloperIDHeader: [] requestBody: required: true content: @@ -208,6 +216,9 @@ paths: - Subscription summary: Unsubscribe an API product for the given application operationId: deleteSubscription + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/SubscriptionID" responses: @@ -227,6 +238,9 @@ paths: - Application summary: Create an application by the logged in developer. operationId: createDeveloperApplication + security: + - BearerAuth: [] + DeveloperIDHeader: [] requestBody: required: true content: @@ -247,6 +261,9 @@ paths: - Application summary: List all applications for the logged in developer. operationId: listDeveloperApplications + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/APIProductIDInQuery" - $ref: "#/components/parameters/Search" @@ -270,6 +287,9 @@ paths: - Application summary: Get an application for the logged in developer. operationId: getDeveloperApplication + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" responses: @@ -288,6 +308,9 @@ paths: - Application summary: Update an application basic information by the logged in developer. operationId: updateDeveloperApplication + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" requestBody: @@ -312,6 +335,9 @@ paths: - Application summary: Delete an application by the logged in developer. operationId: deleteDeveloperApplication + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" responses: @@ -331,6 +357,9 @@ paths: - Credential summary: Create an application credential operationId: createApplicationCredential + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" requestBody: @@ -353,6 +382,9 @@ paths: - Credential summary: List all credentials for the logged in developer operationId: listApplicationCredentials + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/AuthMethod" @@ -378,6 +410,9 @@ paths: - Credential summary: Get an application credential for Developer Portal operationId: getApplicationCredential + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/ApplicationCredentialID" @@ -397,6 +432,9 @@ paths: - Credential summary: Update an application credential for Developer Portal operationId: upsertApplicationCredential + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/ApplicationCredentialID" @@ -422,6 +460,9 @@ paths: - Credential summary: Delete an application credential for Developer Portal operationId: deleteApplicationCredential + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/ApplicationCredentialID" @@ -442,6 +483,9 @@ paths: - Credential summary: Regenerate an application credential auth conf operationId: regenerateApplicationCredential + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationID" - $ref: "#/components/parameters/ApplicationCredentialID" @@ -469,6 +513,9 @@ paths: summary: Get API Calls description: Retrieve a list of API calls made by the user. operationId: getApiCalls + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationsIDs" - $ref: "#/components/parameters/APIProductIDs" @@ -490,6 +537,9 @@ paths: - Credential summary: List all Credentials operationId: listCredentials + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/ApplicationsIDs" - $ref: "#/components/parameters/AuthMethod" @@ -515,6 +565,9 @@ paths: - Label summary: Get all labels of a resource type operationId: listLabels + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/DeveloperPortalLabelResourceType" responses: @@ -532,6 +585,9 @@ paths: - System Settings summary: Get SMTP server settings status operationId: getSMTPServerStatus + security: + - BearerAuth: [] + DeveloperIDHeader: [] description: Get SMTP server settings status. responses: "200": @@ -565,6 +621,9 @@ paths: - DCR Provider summary: List all DCR providers operationId: listDCRProviders + security: + - BearerAuth: [] + DeveloperIDHeader: [] parameters: - $ref: "#/components/parameters/Page" - $ref: "#/components/parameters/PageSize"