* chore: upgrade go releaser to v1.13.1 (#464) * chore: update goreleaser and actually use go 1.19 * chore: format for go 1.19 Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com> Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>
This commit is contained in:
@ -193,8 +193,8 @@ func (r ApiPostWriteRequest) ExecuteWithHttpInfo() (*_nethttp.Response, error) {
|
||||
}
|
||||
|
||||
/*
|
||||
* PostWrite Write data
|
||||
* Writes data to a bucket.
|
||||
- PostWrite Write data
|
||||
- Writes data to a bucket.
|
||||
|
||||
Use this endpoint to send data in [line protocol]({{% INFLUXDB_DOCS_URL %}}/reference/syntax/line-protocol/) format to InfluxDB.
|
||||
|
||||
@ -202,27 +202,29 @@ Use this endpoint to send data in [line protocol]({{% INFLUXDB_DOCS_URL %}}/refe
|
||||
|
||||
- Does the following when you send a write request:
|
||||
|
||||
1. Validates the request and queues the write.
|
||||
2. If queued, responds with _success_ (HTTP `2xx` status code); _error_ otherwise.
|
||||
3. Handles the delete asynchronously and reaches eventual consistency.
|
||||
1. Validates the request and queues the write.
|
||||
|
||||
To ensure that InfluxDB Cloud handles writes and deletes in the order you request them,
|
||||
wait for a success response (HTTP `2xx` status code) before you send the next request.
|
||||
2. If queued, responds with _success_ (HTTP `2xx` status code); _error_ otherwise.
|
||||
|
||||
Because writes and deletes are asynchronous, your change might not yet be readable
|
||||
when you receive the response.
|
||||
3. Handles the delete asynchronously and reaches eventual consistency.
|
||||
|
||||
To ensure that InfluxDB Cloud handles writes and deletes in the order you request them,
|
||||
wait for a success response (HTTP `2xx` status code) before you send the next request.
|
||||
|
||||
Because writes and deletes are asynchronous, your change might not yet be readable
|
||||
when you receive the response.
|
||||
|
||||
#### InfluxDB OSS
|
||||
|
||||
- Validates the request and handles the write synchronously.
|
||||
- If all points were written successfully, responds with HTTP `2xx` status code;
|
||||
otherwise, returns the first line that failed.
|
||||
- Validates the request and handles the write synchronously.
|
||||
- If all points were written successfully, responds with HTTP `2xx` status code;
|
||||
otherwise, returns the first line that failed.
|
||||
|
||||
#### Required permissions
|
||||
|
||||
- `write-buckets` or `write-bucket BUCKET_ID`.
|
||||
|
||||
*`BUCKET_ID`* is the ID of the destination bucket.
|
||||
*`BUCKET_ID`* is the ID of the destination bucket.
|
||||
|
||||
#### Rate limits (with InfluxDB Cloud)
|
||||
|
||||
@ -235,8 +237,8 @@ For more information, see [limits and adjustable quotas](https://docs.influxdata
|
||||
- [Optimize writes to InfluxDB]({{% INFLUXDB_DOCS_URL %}}/write-data/best-practices/optimize-writes/)
|
||||
- [Troubleshoot issues writing data]({{% INFLUXDB_DOCS_URL %}}/write-data/troubleshoot/)
|
||||
|
||||
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
* @return ApiPostWriteRequest
|
||||
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
- @return ApiPostWriteRequest
|
||||
*/
|
||||
func (a *WriteApiService) PostWrite(ctx _context.Context) ApiPostWriteRequest {
|
||||
return ApiPostWriteRequest{
|
||||
|
Reference in New Issue
Block a user