Object Store v2 API

1.0.0

Overview

Statistics
19 Operations
0 Skills
Storage Category
Manage object stores, partitions, and key-value entries across environments and regions in Object Store v2.

Servers

  • https://object-store-us-east-1.anypoint.mulesoft.com/api/v1

Authentication & Security

  • bearerAuth http

    Bearer token authentication. Login endpoint: https://anypoint.mulesoft.com/accounts/api/login

  • clientAuth oauth2

    OAuth2 client credentials. Token endpoint: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token

Get Organizations By Organizationid Environments By Environmentid Stores getOrganizationsByOrganizationidEnvironmentsByEnvironmentidStores

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get list of object stores in the given environment. If you are using connected app, either of "View Stores / Manage Stores / Manage Store Data" scopes are needed. Note that this API only returns the list of stores that currently exist. To retrieve a list of stores for a given timeframe (including stores that don't exist anymore), use the Object Store V2 Stats APIs.

Path Parameters

environmentId *: string

Query Parameters

nextPageToken: string
pageSize: integer

Response

List of stores
Examples
application/json
{ "values": [ { "storeId": "testStoreId", "encrypted": "false", "defaultTtlMillis": 120000, "defaultConfirmationTtlMillis": 10000 }, { "storeId": "otherTestStoreId", "encrypted": "false", "defaultTtlMillis": 120000, "defaultConfirmationTtlMillis": 10000 } ], "nextPageToken": "otherTestStoreId" }

Get Organizations By Organizationid Environments By Environmentid Stores By Storeid getOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreid

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get object store details. If you are using connected app, either of "View Stores / Manage Stores / Manage Store Data" scopes are needed.

Path Parameters

environmentId *: string
storeId *: string

Response

Object store successfully obtained.
Examples
application/json
{ "storeId": "testStoreId", "encrypted": "false", "defaultTtlMillis": 120000, "defaultConfirmationTtlMillis": 10000 }

Update Organizations By Organizationid Environments By Environmentid Stores By Storeid updateOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreid

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Create an object store. If you are using connected app, either of "Manage Stores / Manage Store Data" scopes are needed.

Path Parameters

environmentId *: string
storeId *: string

Response

Object store successfully created.

Patch Organizations By Organizationid Environments By Environmentid Stores By Storeid patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreid

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Modify object store attributes. If you are using connected app, either of "Manage Stores / Manage Store Data" scopes are needed.

Path Parameters

environmentId *: string
storeId *: string

Response

Object store successfully modified.

Delete Organizations By Organizationid Environments By Environmentid Stores By Storeid deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreid

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Delete the object store. If you are using connected app, either of "Manage Stores / Manage Store Data" scopes are needed.

Path Parameters

environmentId *: string
storeId *: string

Response

Object store successfully deleted.

Get Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions getOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitions

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Return a paginated list of keys in this store, along with a token for making a request for the next page of keys. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

environmentId *: string
storeId *: string

Query Parameters

nextPageToken: string
pageSize: integer

Response

List of keys
Examples
application/json
{ "values": [ "myList1", "myList2", "myList3" ], "nextPageToken": "myList3/8" }

Get Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid getOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionid

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Retrieve the values stored for the given key. If you are using connected app, you need "Manage Store Data" scope.

Path Parameters

environmentId *: string
storeId *: string
partitionId *: string

Query Parameters

inclusion: string
nextPageToken: string
pageSize: integer

Response

Return the values for the given key.
Examples
application/json
{ "values": [ { "index": 33, "metadata": "", "stringValue": "Somewhere in La Mancha, in a place whose name I do not care to remember", "valueType": "STRING" }, { "index": 34, "metadata": "", "stringValue": "It was the best of times, it was the blurst of times", "valueType": "STRING" } ], "nextPageToken": "34" }

Delete Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionid

DELETE

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Remove the object and all the values in the contained list. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

environmentId *: string
storeId *: string
partitionId *: string

Query Parameters

confirmable *: boolean

Response

Operation completed successfully.

Head Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid headOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionid

HEAD

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Check whether or not the given partition is already registered in this store. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

environmentId *: string
storeId *: string
partitionId *: string

Response

Operation completed successfully.

Get Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys getOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeys

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Retrieve the given object. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

environmentId *: string
storeId *: string
partitionId *: string

Query Parameters

beginsWith: string

Response

List of keys belonging to the partition.

Get Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid getOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyid

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Retrieve the given object. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Query Parameters

confirmable *: boolean

Response

The requested resource does not exist on this service.

Create Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid createOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyid

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/vnd.objectstore.v1.numberoperation+json
Alter the object in a non-idempotent fashion. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Request Body

vnd.objectstore.v1.numberoperation+json

Response

The resource already exists on this service.

Update Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid updateOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyid

PUT

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Create/Modify the given object. Total object size must be 10MB or less, and metadata must be 4KB or less. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Query Parameters

confirmable *: boolean

Request Body

json

Response

The requested resource does not exist on this service.

Delete Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyid

DELETE

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Remove the object with the given ID. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Query Parameters

confirmable *: boolean

Response

Operation completed successfully.

Head Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid headOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyid

HEAD

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Check if the object exists. "Manage Store Data" scope is needed.

Path Parameters

storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Query Parameters

confirmable *: boolean

Response

Operation completed successfully.

Create Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid Confirmations By Confirmationid createOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyidConfirmationsByConfirmationid

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Ack the operation. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

confirmationId *: string
The confirmation ID to identify the target resource.
storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Response

Operation completed successfully.

Patch Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid Confirmations By Confirmationid patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyidConfirmationsByConfirmationid

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Extend the operation's time to live. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

confirmationId *: string
The confirmation ID to identify the target resource.
storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Request Body

json

Response

Operation completed successfully.

Delete Organizations By Organizationid Environments By Environmentid Stores By Storeid Partitions By Partitionid Keys By Keyid Confirmations By Confirmationid deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidStoresByStoreidPartitionsByPartitionidKeysByKeyidConfirmationsByConfirmationid

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Nack the operation. If you are using connected app, "Manage Store Data" scope is needed.

Path Parameters

confirmationId *: string
The confirmation ID to identify the target resource.
storeId *: string
keyId *: string
partitionId *: string
environmentId *: string

Response

Operation completed successfully.

Get Organizations By Organizationid Regions getOrganizationsByOrganizationidRegions

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Retrieve a list of regions in which the service is available. If you are using connected app, no particular scope is needed.

Path Parameters

Response

Successfully return a JSON array containing objects for each region.
Examples
application/json
[ { "id": "mars-east-1", "name": "Mars East (Elysium)", "url": "http://object-store.mars-east-1.cloudhub.com" }, { "id": "mars-west-1", "name": "Mars West (Oxia Palus)", "url": "http://object-store.mars-west-1.cloudhub.com" } ]