New developer need some info on jira rest api?

Hi, my springboot service wants post to JIRA updating info on on JIRA ticket programmatically? What are my best options to do this? We don’t need any UIs, I am looking at the REST APIs , but would like to know updated info on latest REST API version ? Any recommendations on this? Has anyone done this? Do I post against JIRA Server or JIRA cloud?