getReleaseData

open override fun getReleaseData(id: String): JsonObject

Gets the information of a single release Object Sample: { "published_at": "2022-07-15T21:51:46.397962Z", "version": "v0.4.1-SNAPSHOT", "url": "https://github.com/TheProgramSrc/SimpleCoreAPI/releases/tag/v0.4.1-SNAPSHOT", "author_url": "https://github.com/Im-Fran" }

  • published_at: Is the date when the version was made public. This date must be able to be parsed by Instant#from

  • version: The version of the latest asset

  • url: The url to the version page (null if not available)

  • author_url: The url to the author profile (null if not available)

Return

The information of the given release name

Since

0.4.1-SNAPSHOT

Parameters

id

the name of the release. (If none specified the latest data is fetched. Defaults to "latest")