Cloud Tables
Web API References for Cloud Data Storage Service
Explore the list of Web APIs functions available for managing tables, including detailed descriptions and usage examples.
To use services functions, first ensure that the service is activated before. You can see services by opening "Service Hub" From game's dashboard header.
Path parameters
tableIdstringRequired
Body
Responses
200
OK
put
PUT /api/table/{tableId}/delete HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"conditions": {
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": "[Circular Reference]"
}
]
}
]
}
}
200
OK
{
"affected": 1
}
post
Path parameters
tableIdstringRequired
Body
Responses
200
OK
post
POST /api/table/{tableId}/find-one-and-delete HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 300
{
"conditions": {
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": "[Circular Reference]"
}
]
}
]
},
"joins": [
{
"table_name": "text",
"local_field": "text",
"foreign_field": "text"
}
]
}
200
OK
{
"id": 1
}
Path parameters
tableIdstringRequired
Query parameters
skipinteger · int32OptionalDefault:
0
limitinteger · int32OptionalDefault:
25
Body
Responses
200
OK
put
PUT /api/table/{tableId} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 343
{
"conditions": {
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": "[Circular Reference]"
}
]
}
]
},
"sorts": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"joins": [
{
"table_name": "text",
"local_field": "text",
"foreign_field": "text"
}
]
}
200
OK
[]
Path parameters
tableIdstringRequired
Query parameters
rowIdinteger · int32Optional
Body
Responses
200
OK
put
PUT /api/table/{tableId}/update HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 270
{
"data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"conditions": {
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": "[Circular Reference]"
}
]
}
]
}
}
200
OK
{
"id": 1
}
Path parameters
tableIdstringRequired
rowIdinteger · int32Required
Body
Responses
200
OK
put
PUT /api/table/{tableId}/{rowId} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
200
OK
{
"id": 1
}
post
Path parameters
tableIdstringRequired
Body
Responses
200
OK
post
POST /api/table/{tableId}/find-one HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 300
{
"conditions": {
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": "[Circular Reference]"
}
]
}
]
},
"joins": [
{
"table_name": "text",
"local_field": "text",
"foreign_field": "text"
}
]
}
200
OK
{
"id": 1
}
post
Path parameters
tableIdstringRequired
Body
Responses
200
OK
post
POST /api/table/{tableId}/find-one-and-update HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 346
{
"conditions": {
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": [
{
"op": "text",
"field": "text",
"value": null,
"values": [],
"list": "[Circular Reference]"
}
]
}
]
},
"joins": [
{
"table_name": "text",
"local_field": "text",
"foreign_field": "text"
}
],
"data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
200
OK
{
"id": 1
}
Last updated