class
Meilisearch::Crystal::Keys
- Meilisearch::Crystal::Keys
- Meilisearch::Crystal::API
- Reference
- Object
Overview
API-key lifecycle operations.
Defined in:
meilisearch/crystal/management.crInstance Method Summary
- #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
- #delete(uid : String) : Nil
- #get(uid : String) : Key
- #get?(uid : String) : Key | Nil
- #list(offset : Int32 | Nil = nil, limit : Int32 | Nil = nil) : List(Key)
- #update(uid : String, name : String | Nil = nil, description : String | Nil = nil) : Key
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
#