The column_list command reports the list of all existing columns in a table.
This is compatible to the column_list command of the Groonga.
(Document Root)/d/column_listGETNot supported.
type of the requestcolumn_listbody of the requesttype of the responsecolumn_list.result{
"table" : "<Name of the table>"
}
The only one parameter table is required.
They are compatible to the parameters of the column_list command of the Groonga. See the linked document for more details.
This returns an array meaning the result of the operation, as the body.
[
[
<Groonga's status code>,
<Start time>,
<Elapsed time>
],
<List of columns>
]
The structure of the returned array is compatible to the returned value of the Groonga’s table_list command. See the linked document for more details.
This command always returns a response with 200 as its statusCode, because this is a Groonga compatible command and errors of this command must be handled in the way same to Groonga’s one.
Response body’s details:
0 (Droonga::GroongaHandler::Status::SUCCESS) : Successfully processed.-22 (Droonga::GroongaHandler::Status::INVALID_ARGUMENT) : There is any invalid argument.