From d2a365f9eaee321b0b0275b28332df3a3532f332 Mon Sep 17 00:00:00 2001 From: souf Date: Mon, 10 Jun 2024 10:47:01 +0300 Subject: [PATCH] updates connected app spec by adding new route to get connected app without orgId --- spec/connected_app.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/spec/connected_app.yml b/spec/connected_app.yml index 783c4aa..f48e09b 100644 --- a/spec/connected_app.yml +++ b/spec/connected_app.yml @@ -56,6 +56,30 @@ paths: '200': $ref: '#/components/responses/SuccessListConnApps' + /connectedApplications/{connAppId}: + parameters: + - name: connAppId + in: path + description: The ID of the connected app + required: true + schema: + type: string + get: + operationId: GetConnectedAppByIdOnly + description: Get a single connected application with connected app id and without organization id + parameters: + - in: query + name: includeUsage + description: flag to indicate whether to return usage statistics + required: false + schema: + type: boolean + responses: + '401': + $ref: '#/components/responses/UnauthorizedError' + '200': + $ref: '#/components/responses/SuccessGetConnApps' + /organizations/{orgId}/connectedApplications: parameters: - name: orgId @@ -80,7 +104,6 @@ paths: '201': $ref: '#/components/responses/SuccessPostConnApps' - /organizations/{orgId}/connectedApplications/{connAppId}: parameters: - name: orgId