Durable Objects Namespace

Returns the Durable Objects in a given namespace.

get/workers/durable_objects/namespaces/{id}/objects

Request

  • Base URL: /cdn-cgi/local/explorer/api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /cdn-cgi/local/explorer/api/workers/durable_objects/namespaces/{id}/objects
  • Auth: none declared

Path parameters

idstring required

ID of the namespace.

Example:5fd1cafff895419c8bcc647fc64ab8f0

Query parameters

limitnumber

The number of objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.

cursorstring

Opaque token indicating the position from which to continue when requesting the next set of records. A valid value for the cursor can be obtained from the cursors object in the result_info structure.

Example:AAAAANuhDN7SjacTnSVsDu3WW1Lvst6dxJGTjRY5BhxPXdf6L6uTcpd_NVtjhn11OUYRsVEykxoUwF-JQU4dn6QylZSKTOJuG0indrdn_MlHpMRtsxgXjs-RPdHYIVm3odE_uvEQ_dTQGFm8oikZMohns34DLBgrQpc

Response

List Objects response.

successtrue required

Whether the API call was successful.

Example response

{
  "errors": [],
  "messages": [],
  "success": true,
  "result_info": {
    "count": 1,
    "page": 1,
    "per_page": 20,
    "total_count": 2000,
    "total_pages": 100,
    "cursor": "AAAAANuhDN7SjacTnSVsDu3WW1Lvst6dxJGTjRY5BhxPXdf6L6uTcpd_NVtjhn11OUYRsVEykxoUwF-JQU4dn6QylZSKTOJuG0indrdn_MlHpMRtsxgXjs-RPdHYIVm3odE_uvEQ_dTQGFm8oikZMohns34DLBgrQpc"
  },
  "result": [
    {
      "hasStoredData": true,
      "id": "fe7803fc55b964e09d94666545aab688d360c6bda69ba349ced1e5f28d2fc2c8"
    }
  ]
}

Changes

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property /// to the response with the status

    • ○

      added the optional property ////// to the response with the status

    • ○

      added the optional property /////// to the response with the status