Skip to content
View Markdown

PUT disk-scoped actor instance path

PUT/v1/actor/{name}/disks/{disk}/instances/{instance}/fetch/{rest}
PUT
/v1/actor/{name}/disks/{disk}/instances/{instance}/fetch/{rest}
curl --request PUT \
--url https://api.wabe.sh/v1/actor/chat/disks/demo/instances/room-1/fetch/messages \
--header 'Authorization: Bearer <token>'

The project key authorizes the call and selects the namespace. Wabe creates the named disk if needed and consumes the project key before forwarding the request. See the actor transport protocol.

name
required
string
/^[A-Za-z0-9_-]{1,128}$/

Example

chat

Registration name in the current project.

disk
required
string
/^[A-Za-z0-9_-]{1,128}$/

Example

demo

Disk name in the current project.

instance
required
string
/^[A-Za-z0-9_-]{1,128}$/

Example

room-1

Instance name on the selected actor and disk.

rest
required
string

Example

messages

Path suffix. Encode each component and preserve slash separators.

Application-defined request body.

Media type*/*

Handler status, headers and body, or a broker error.