diff --git a/docs/api-reference.md b/docs/api-reference.md index 4a49e3515..f5f06fd57 100644 --- a/docs/api-reference.md +++ b/docs/api-reference.md @@ -96,7 +96,7 @@ By default, all bits and attributes (*for `Row` queries only*) are returned. In ### Import Data -`POST /index//field/` +`POST /index//field//import` Supports high-rate data ingest to a particular shard of a particular field. The official client libraries use this endpoint for their import functionality - it @@ -106,13 +106,13 @@ imports for Java, and Python. -The request payload is protobuf encoded with the following schema. The row or -column Keys fields are used if the field or index is configured for keys -respectively. Otherwise, the RowIDs and ColumnIDs fields are used. They must -have the same number of items, and each index into those two lists represents a -particular bit to be set. Timestamps are optional, but if they exist must also -contain the same number of items as rows and columns. The column IDs must all be -in the shard specified in the request. +The request payload is protobuf encoded with the following schema. The RowKeys +and/or ColumnKeys fields are used if the pilosa field or index are configured +for keys respectively. Otherwise, the RowIDs and ColumnIDs fields are used. They +must have the same number of items, and each index into those two lists +represents a particular bit to be set. Timestamps are optional, but if they +exist must also contain the same number of items as rows and columns. The +column IDs must all be in the shard specified in the request. ``` message ImportRequest {