Skip to content

Commit f671fc8

Browse files
committed
TS HTTP API batch put is actually a POST
1 parent 3a01ab7 commit f671fc8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

content/riak/ts/1.3.0/developing/http.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CREATE TABLE GeoCheckin
4141

4242
| Call | Request URL | Type | Description |
4343
|:------|---------------------|:--------------:|--------------|
44-
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | PUT | put a single or a batch of rows |
44+
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | POST | put a single or a batch of rows |
4545
|get | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | GET | single-key get of a value |
4646
|delete | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | DELETE | single-key delete |
4747
|query | /ts/v1/query --data "»Query«" | POST | execute a query |
@@ -56,7 +56,7 @@ All keys need to be implemented in the query string using percent-encoding (or U
5656

5757
| Call | Method | Type |
5858
|-----------|--------|-------|
59-
| put | PUT | Write |
59+
| put | POST | Write |
6060
| get | GET | Read |
6161
| delete | DELETE | Write |
6262
| query | POST | Query |

content/riak/ts/1.3.1/developing/http.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CREATE TABLE GeoCheckin
4141

4242
| Call | Request URL | Type | Description |
4343
|:------|---------------------|:--------------:|--------------|
44-
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | PUT | put a single or a batch of rows |
44+
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | POST | put a single or a batch of rows |
4545
|get | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | GET | single-key get of a value |
4646
|delete | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | DELETE | single-key delete |
4747
|query | /ts/v1/query --data "»Query«" | POST | execute a query |
@@ -56,7 +56,7 @@ All keys need to be implemented in the query string using percent-encoding (or U
5656

5757
| Call | Method | Type |
5858
|-----------|--------|-------|
59-
| put | PUT | Write |
59+
| put | POST | Write |
6060
| get | GET | Read |
6161
| delete | DELETE | Write |
6262
| query | POST | Query |

content/riak/ts/1.4.0/developing/http.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CREATE TABLE GeoCheckin
4040

4141
| Call | Request URL | Type | Description |
4242
|:------|---------------------|:--------------:|--------------|
43-
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | PUT | put a single or a batch of rows |
43+
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | POST | put a single or a batch of rows |
4444
|get | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | GET | single-key get of a value |
4545
|delete | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | DELETE | single-key delete |
4646
|query | /ts/v1/query --data "»Query«" | POST | execute a query |
@@ -55,7 +55,7 @@ All keys need to be implemented in the query string using percent-encoding (or U
5555

5656
| Call | Method | Type |
5757
|-----------|--------|-------|
58-
| put | PUT | Write |
58+
| put | POST | Write |
5959
| get | GET | Read |
6060
| delete | DELETE | Write |
6161
| query | POST | Query |

content/riak/ts/1.5.0/developing/http.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CREATE TABLE GeoCheckin
4040

4141
| Call | Request URL | Type | Description |
4242
|:------|---------------------|:--------------:|--------------|
43-
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | PUT | put a single or a batch of rows |
43+
|put | /ts/v1/tables/GeoCheckin/keys '[»Row(s)«]' | POST | put a single or a batch of rows |
4444
|get | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | GET | single-key get of a value |
4545
|delete | /ts/v1/tables/GeoCheckin/keys/region/North%20West/state/WA/time/14201136 | DELETE | single-key delete |
4646
|query | /ts/v1/query --data "»Query«" | POST | execute a query |
@@ -97,7 +97,7 @@ The results from the query are in JSON and thus will be encoded as `base64`, not
9797

9898
| Call | Method | Type |
9999
|-----------|--------|-------|
100-
| put | PUT | Write |
100+
| put | POST | Write |
101101
| get | GET | Read |
102102
| delete | DELETE | Write |
103103
| query | POST | Query |

0 commit comments

Comments
 (0)