Version

Get version of MeiliSearch

GET

  1. /version

Get version of MeiliSearch.

Example

<>

cURL

JS

Python

PHP

Java

Ruby

Go

Rust

Swift

Dart

  1. curl \
  2. -X GET 'http://localhost:7700/version'
  1. client.getVersion()
  1. client.get_version()
  1. $client->version();
  1. client.getVersion();
  1. client.version
  1. client.GetVersion()
  1. let version: Version = client.get_version().await.unwrap();
  1. client.version { (result: Result<Version, Swift.Error>) in
  2. switch result {
  3. case .success(let version):
  4. print(update)
  5. case .failure(let error):
  6. print(error)
  7. }
  8. }
  1. await client.getVersion();

Response: 200 Ok

  1. {
  2. "commitSha": "b46889b5f0f2f8b91438a08a358ba8f05fc09fc1",
  3. "commitDate": "2019-11-15T09:51:54.278247+00:00",
  4. "pkgVersion": "0.1.1"
  5. }