class Meilisearch::Crystal::Keys

Overview

API-key lifecycle operations.

Defined in:

meilisearch/crystal/management.cr

Instance Method Summary

Instance methods inherited from class Meilisearch::Crystal::API

client : Client client, http(*args, **options)
http(*args, **options, &)
http

Constructor methods inherited from class Meilisearch::Crystal::API

new(client : Client) new

Macros inherited from class Meilisearch::Crystal::API

pass(*methods) pass

Instance Method Detail

def create(actions : Array(String), indexes : Array(String), expires_at : Time | Nil = nil, name : String | Nil = nil, description : String | Nil = nil, uid : String | Nil = nil) : Key #

[View source]
def delete(uid : String) : Nil #

[View source]
def get(uid : String) : Key #

[View source]
def get?(uid : String) : Key | Nil #

[View source]
def list(offset : Int32 | Nil = nil, limit : Int32 | Nil = nil) : List(Key) #

[View source]
def update(uid : String, name : String | Nil = nil, description : String | Nil = nil) : Key #

[View source]