Memory Blocks

Returns the public permissions for a memory block.

Returns the list of public permissions for a memory block. Returns an empty array if the memory block is not public or has no permissions. Read access is implicit for public memory blocks; an empty array on a public block means public read-only, while ['h2ogpte/memory_block/edit'] means public read + edit. Never raises 404 — unknown memory block ids also return an empty array (mirrors the collection endpoint).

get/memory_blocks/{memory_block_id}/public_permissions

Request

Path parameters

memory_block_idstring required

Id of the memory block.

Response

Successful operation. Returns list of permissions.

string[] required

Changes

No recorded changes to this operation across all 1 revision of this API.