Alogrithm iv error

Mansi Gusain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2025

Hi I am using two agents with the api to fetch the space id from space name and one to create a confluence page using space id. 

 

openapi: 3.0.0 info: title: MANSI API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 paths: /pages: post: summary: Create a new page requestBody: required: true content: application/json: schema: type: object properties: spaceId: type: string status: type: string title: type: string parentId: type: string body: type: object properties: representation: type: string example: storage value: type: string required: - spaceId - status - title - body responses: '200': description: Page created successfully security: - basicAuth: [] components: securitySchemes: basicAuth: type: http scheme: basic,

 

 

 

openapi: 3.0.0 info: title: MANSI API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 paths: /spaces: get: summary: Retrieve space information parameters: - in: query name: keys required: true schema: type: string description: The keys of the space to retrieve responses: '200': description: Success content: application/json: schema: type: object properties: id: type: string security: - basicAuth: []

 

so if i combine both - 

 

 

openapi: 3.0.0 info: title: MANSI API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 paths: /spaces: get: summary: Retrieve space information parameters: - in: query name: keys required: true schema: type: string description: The keys of the space to retrieve responses: '200': description: Success content: application/json: schema: type: object properties: id: type: string security: - basicAuth: [] /pages: post: summary: Create a new page requestBody: required: true content: application/json: schema: type: object properties: spaceId: type: string status: type: string title: type: string parentId: type: string body: type: object properties: representation: type: string example: storage value: type: string required: - spaceId - status - title - body responses: '200': description: Page created successfully security: - basicAuth: [] components: securitySchemes: basicAuth: type: http scheme: basic

 

my basic concern is that if I am using two api together for basic auth my agent is failing.

 

My question to you is that if i combine these two together in a single schema I am facing this error.

 

How to resolve?

1 answer

0 votes
Mansi Gusain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2025

Hi can some one help me here ?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events