Service
Get the running version
GET
/v1/versionReturns the version of the Shipbell release that answers the request.
Authentication
None. This endpoint needs no key.
Responses
200The running version.
Content type: application/json
| Name | Type | Description |
|---|---|---|
| versionRequired | string | The full commit SHA of the running release. A local build that has no release SHA answers dev.Matches ^(?:[0-9a-f]{40}|[0-9a-f]{64}|dev)$ |
{
"version": "string"
}Examples
curl https://api.shipbell.app/v1/versionconst response = await fetch('https://api.shipbell.app/v1/version');
const data = await response.json();let url = URL(string: "https://api.shipbell.app/v1/version")!
let (data, response) = try await URLSession.shared.data(from: url)