Assigning an API Key for Backend Indexing Operations
TLDR Ross inquired about assigning an API key for backend service. After some confusion, Jason clarified that the documents:upsert
, documents:update
, documents:create
, and documents:delete
actions were necessary for document-only operations.
1
1
Nov 28, 2022 (13 months ago)
Ross
08:53 PMactions
to assign an API key intended for a backend service responsible for indexing operations to existing collections (i.e. only document delete/upsert, not collection creation). Document-only operations including upsert.Jason
09:37 PMdocuments:write
Ross
09:39 PMJason
09:40 PMNov 29, 2022 (13 months ago)
Ross
04:15 PMwrite
is not an action listed in the docs -- did you mean create
?> where
verb
can be one of create
, delete
, get
, list
, search
, or *
https://typesense.org/docs/0.23.1/api/api-keys.html#sample-actions
Jason
04:17 PMJason
04:17 PMwrite
action :man-facepalming:Jason
04:17 PMRoss
04:17 PMcreate
implies update/upsert as well? gotcha. Thank you!Ross
07:11 PMdocuments:create
. Switching to an admin key with *
allows the .update() to go throughRoss
07:12 PMJason
07:16 PMdocuments:upsert
, documents:update
, documents:create
, documents:delete
as the actions?Ross
07:18 PMRoss
07:19 PM1
Jason
07:19 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
API Key Permissions for Typesense Docsearch Scraper
JP asked about configuring API key actions for reindexing a site using Typesense. Kishore Nallan clarified the required permission. Then, JP and Jason discussed specific permission configurations, and JP made a documentation update to illustrate their findings.
Correct API Key Generation and Usage on Cloud
Tom faced 401 errors while creating keys via the Cloud API. Kishore Nallan clarified the correct syntax and mechanics, and identified a header mislabeling on Tom's part that caused the issue. They also discussed using scoped API keys.
Handling Kinesis Stream Event Batching with Typesense
Dui had questions about how to handle Kinesis stream events with Typesense. Kishore Nallan suggested using upsert mode for creation/update and differentiating with logical deletion. After various discussions including identifying and resolving a bug, they finalized to introduce an `emplace` action in Typesense v0.23.
Issue with Embedding Error in Version 0.25.0.rc63
Bill reported a bug in version 0.25.0.rc63 regarding a problem with updating or emplacing a document and receiving an embedding error. This was resolved in version 0.25.0.rc65, but further discussion ensued regarding the function of 'index' in the update feature.
Resolving Issues with Scoped API Keys in Typesense with Golang
Suvarna had problems with generating and using scoped API keys in Typesense with Golang. Several bugs misleading the user were found and fixed by Kishore Nallan.