Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hey,
Is there any documentation around this screen?
I've had a bit of a search but come up empty.
Hey @David Harper - I'm Aidan (the founder of Optic, now over Compass which powers the new API tab). You're right, we need better docs here
- We support OAS 3 and up. YAML, JSON, are both supported and you can split the file into a lot of pieces using $ref. Optic knows how to reassemble the file
- Is committing to the repo the only way for it to work --- right now, yes. But we have an API you can use too. Do you not commit your specs? Happy to help you set something else up
- If I have "Enforce Jira Keys" in Bitbucket turned on, but then generate this in my pipeline, that's not going to work without a long running Jira issue just to commit these changes against, right? -- correct, you'll need to commit it to the repo, but the "Enforce Jira Keys" option should not impact anything with the API tab.
Does that make sense? Worth hoping on a call?
Hey Aidan,
Thanks for the quick response. No, we haven't been committing them. They're available on the application itself at `/swagger` (using https://elysiajs.com/plugins/swagger.html) and then as part of the pipeline I cURL a copy from the endpoint locally into a git ignored folder and pass that to Terraform.
I was hoping to just use that gitignored copy and cURL it somewhere but if there is API documentation somewhere or an example repo that'd be very handy and then I don't have to mess with making extra commits to the repo (especially as it is currently "run release on changes to `main`")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @David Harper just checked, we do have a new API endpoint to upload specs and it is stable now.
Let me put in a request to have it documented on the API page for Compass and if it's urgent (like needs to work this week) we can set up a call to do it together
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Aidan Cunniffe ,
Not urgent in the next week but maybe in the next month would be nice. :)
Happy to give the API a go and if I have more questions then have a call then?
Cheers,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Aidan Cunniffe , any update on the documentation for this?
Can't find anything on https://developer.atlassian.com/cloud/compass/rest/intro/#about
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://developer.atlassian.com/cloud/compass/graphql/#mutations_createComponentApiUpload
Is this the API?
Will there be a Bitbucket Pipe in the future to make this easier?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.