Get selected fields

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 19, 2025

Hi,

Is it possible to get the id of the space using space name only?

also - 

 

I want to customize this api-  

 

https://domain.atlassian.net/wiki/api/v2/spaces?fields=name,id

 

so that I get the fields and name only, but all the fields are being displayed, can someone please help . 

2 answers

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 19, 2025

as all the fields are being fetched from it and i need only id and name. 

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 19, 2025

Also is this the correct way to setup the api - https://domain.atlassian.net/wiki/api/v2/spaces?fields=name,id ? just to get the name and id 

Suggest an answer

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

Atlassian Community Events