I am new to Confluence and just joined my company for few months. My company hosts Confluence and JIRA in the local server with Google G-suit account oAuth. In that case, how I can access the company confluence through REST api?
I tried the following command, but shows connection refused
```curl -u admin:admin -X GET "http://localhost:8080/confluence/rest/api/content?type=blogpost&start=0 &limit=10&expand=space,history,body.view,metadata.labels" | python -mjson.tool```
I guess I need to replace the admin:admin with my username and password. My company Confluence uses G-suit account oAuth, so I need to replace the admin:admin with my G-suit account username and password?