Each task can be executed using REST endpoints. All tasks tags to provide additional configuration that is also available on a per-task basis:
- /bulk-create
- /bulk-delete
- /bulk-read
- /bulk-touch
- /bulk-upsert
- /clear_data
- /create
- /delete
- /read
- /result
- /sub-doc-delete
- /sub-doc-insert
- /sub-doc-read
- /sub-doc-replace
- /sub-doc-upsert
- /touch
- /upsert
- /warmup-bucket
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Do operation between range from [start,end)
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
OperationConfig |
ptr |
json:operationConfig |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
REST : POST
Description : Warming up a connection to database.
| Name | Type | JSON Tag |
|---|---|---|
IdentifierToken |
string |
json:identifierToken |
DBType |
string |
json:dbType |
ConnStr |
string |
json:connectionString |
Username |
string |
json:username |
Password |
string |
json:password |
Extra |
struct |
json:extra |
Description of Extra Parameters.
| Name | Type | JSON Tag |
|---|---|---|
CompressionDisabled |
bool |
json:compressionDisabled,omitempty |
CompressionMinSize |
uint32 |
json:compressionMinSize,omitempty |
CompressionMinRatio |
float64 |
json:compressionMinRatio,omitempty |
ConnectionTimeout |
int |
json:connectionTimeout,omitempty |
KVTimeout |
int |
json:KVTimeout,omitempty |
KVDurableTimeout |
int |
json:KVDurableTimeout,omitempty |
Bucket |
string |
json:bucket,omitempty |
Scope |
string |
json:scope,omitempty |
Collection |
string |
json:collection,omitempty |
Expiry |
int |
json:expiry,omitempty |
PersistTo |
uint |
json:persistTo,omitempty |
ReplicateTo |
uint |
json:replicateTo,omitempty |
Durability |
string |
json:durability,omitempty |
OperationTimeout |
int |
json:operationTimeout,omitempty |
Cas |
uint64 |
json:cas,omitempty |
IsXattr |
bool |
json:isXattr,omitempty |
StoreSemantic |
int |
json:storeSemantic,omitempty |
PreserveExpiry |
bool |
json:preserveExpiry,omitempty |
CreatePath |
bool |
json:createPath,omitempty |
SDKBatchSize |
int |
json:SDKBatchSize,omitempty |
Possible values for durability :-
- NONE
- MAJORITY
- MAJORITY_AND_PERSIST_TO_ACTIVE
- PERSIST_TO_MAJORITY
APIs Response Description.
- Response after initiating a TASK.
| Name | Type | JSON Tag |
|---|---|---|
Seed |
string |
json:seed |
- Response which contains the TASK's result.
| Name | Type | JSON Tag |
|---|---|---|
ResultSeed |
int64 |
json:resultSeed |
Operation |
string |
json:operation |
ErrorOther |
string |
json:otherErrors |
Success |
int64 |
json:success |
Failure |
int64 |
json:failure |
BulkError |
map |
json:bulkErrors |
RetriedError |
map |
json:retriedError |
QueryError |
map |
json:queryErrors |
SingleResult |
map |
json:singleResult |
Helping nested json values n.
| Name | Type | JSON Tag |
|---|---|---|
SDKTiming |
struct |
json:sdkTimings |
DocId |
string |
json:key |
Status |
bool |
json:status |
Extra |
map |
json:extra |
ErrorString |
string |
json:errorString |
| Name | Type | JSON Tag |
|---|---|---|
IgnoreExceptions |
slice |
json:ignoreExceptions,omitempty |
RetryExceptions |
slice |
json:retryExceptions,omitempty |
RetryAttempts |
int |
json:retryAttempts,omitempty |
| Name | Type | JSON Tag |
|---|---|---|
DocSize |
int |
json:docSize |
DocType |
string |
json:docType,omitempty |
KeySize |
int |
json:keySize,omitempty |
TemplateName |
string |
json:template |
Start |
int64 |
json:start |
End |
int64 |
json:end |
FieldsToChange |
slice |
json:fieldsToChange |
Exceptions |
struct |
json:exceptions,omitempty |
| Name | Type | JSON Tag |
|---|---|---|
SDKTiming |
struct |
json:sdkTimings |
DocId |
string |
json:key |
Status |
bool |
json:status |
Extra |
map |
json:extra |
ErrorString |
string |
json:errorString |
| Name | Type | JSON Tag |
|---|---|---|
SendTime |
string |
json:sendTime |
AckTime |
string |
json:ackTime |
| Name | Type | JSON Tag |
|---|---|---|
SDKTiming |
struct |
json:sdkTimings |
ErrorString |
string |
json:errorString |
Status |
bool |
json:status |
Cas |
uint64 |
json:cas |