23.3. Commented abstract representation of the client/server protocol

This chapter tries to explain the client/server protocol of all currently supported refdb commands using an abstract representation which should be fairly easy to port to any real programming language.

23.3.1. First stage

stepclientservermessage typecomment
13\0\0\0\0  the current protocol version, a terminated string of up to 16 characters. The whole string will be converted to an integer internally.
2 000ABC-DE-FG-HI\0\0\0\0okthe ok status message, followed by the randomly generated encryption string
   errorthere is no server response in case of a refused remote connection
  102, 103, 104, or 801erroran error status message, ending the dialog
3000command\0\0\0\0 okthe ok status message, followed by the command proper. See below for details.
 112 errorthe error status code signalling a client error

23.3.2. Second stage

The second stage is the more interesting part of the protocol, as it is here where the commands differ. The following section briefly explain the inner workings of the commands and show an abstract representation of the protocol.

23.3.2.1. addlink

The internal API command addlink corresponds to refdbc: addlink.

stepclientservermessage typecomment
1000addlink [options] link-spec [link-spec...]\0\0\0\0 okthe ok message status, followed by the terminated addlink command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  803partial success, aborted after unrecoverable errorthe error message status, followed by a terminated string containing the command result
  204, 417, 233, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.2. addnote

The internal API command addnote corresponds to refdbc: addnote.

stepclientservermessage typecomment
1000addnote [options] filename\0\0\0\0 okthe ok message status, followed by the terminated addnote command sting
2 000okthe ok message status
  701warningthe warning message status
  202, 204, or 801errorthe error message status which terminates the session
3000<bytes>\0\0\0\0 okthe ok message status, followed by a terminated string denoting the number of bytes that the client wants to transmit
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
 401 errorthe message status saying that there was a problem reading the input data, ending the session
4 000okthe ok message status
  801errorthe error message status, ending the session
5<data> okthe previously announced number of data bytes
6 403okthe ok status for a successfully transmitted chunk of data
  400<message>\0\0\0\0errorthe error status, followed by a terminated, server-generated error message specifying the error
  408 or 413okthe message status denoting success of the previous add or update action
  702, 801errorthe error status, followed by a terminated, server-generated error message specifying the error
7see step 3 okrepeat loop until end of data
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
8 403<result message>\0\0\0\0okthe ok status signalling that a chunk has been added successfully, followed by the terminated server result message, finishing the dialog
9000 okthe ok message status, ending the dialog

23.3.2.3. addref

The addref command can add bibliographic data in various formats to the database. The client/server protocols differ slightly based on the type of data transferred. RIS data are transmitted one dataset at a time, whereas XML data are streamed in chunks of a defined size.

stepclientservermessage typecomment
1000addref -s ris [options]\0\0\0\0 okthe ok message status, followed by the terminated addref command sting
2 000okthe ok message status
  701warningthe warning message status
  202, 401, or 801errorthe error message status which terminates the session
3000<bytes>\0\0\0\0 okthe ok message status, followed by a terminated string denoting the number of bytes that the client wants to transmit
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 401 errorthe message status saying that there was a problem reading the input data, ending the session
4 000okthe ok message status
  801errorthe error message status, ending the session
5<data> okthe previously announced number of data bytes
6 403okthe ok status for a successfully transmitted chunk of data
  400<message>\0\0\0\0errorthe error status, followed by a terminated, server-generated error message specifying the error
  408 or 413okthe message status denoting success of the previous add or update action
  702, 801errorthe error status, followed by a terminated, server-generated error message specifying the error
7see step 3 okrepeat loop until end of data
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
8 403okthe ok status signalling that a chunk has been added successfully
9000 okthe ok message status
10 000>data<\0\0\0\0okthe ok message status, followed by a terminated string containing the command result data
11000 okthe ok message status
12 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
13000 okthe ok message status, ending the dialog

And now the slightly different protocol for risx data:

stepclientservermessage typecomment
1000addref -s risx [options]\0\0\0\0 okthe ok message status, followed by the terminated addref command sting
2 000okthe ok message status
  701warningthe warning message status
  202, 204, or 801errorthe error message status which terminates the session
3000<bytes>\0\0\0\0 okthe ok message status, followed by a terminated string denoting the number of bytes that the client wants to transmit
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
 401 errorthe message status saying that there was a problem reading the input data, ending the session
4 000okthe ok message status
  801errorthe error message status, ending the session
5<data> okthe previously announced number of data bytes
6 403okthe ok status for a successfully transmitted chunk of data
  400<message>\0\0\0\0errorthe error status, followed by a terminated, server-generated error message specifying the error
  408 or 413okthe message status denoting success of the previous add or update action
  702, 801errorthe error status, followed by a terminated, server-generated error message specifying the error
7see step 3 okrepeat loop until end of data
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
8 403okthe ok status signalling that a chunk has been added successfully
9000 okthe ok message status
10 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result data
11000 okthe ok message status
12 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
13000 okthe ok message status, ending the dialog

23.3.2.4. addstyle

The internal API command addstyle corresponds to refdba: addstyle.

stepclientservermessage typecomment
1000addstyle [options] filename\0\0\0\0 okthe ok message status, followed by the terminated addstyle command sting
2 000okthe ok message status
  104, 105, 106, 107, 108, 202, 203, 204, 206, or 801errorthe error message status which terminates the session
3000<bytes>\0\0\0\0 okthe ok message status, followed by a terminated string denoting the number of bytes that the client wants to transmit
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
 401 errorthe message status saying that there was a problem reading the input data, ending the session
4 000okthe ok message status
  801errorthe error message status, ending the session
5<data> okthe previously announced number of data bytes
6 403okthe ok status for a successfully transmitted chunk of data
  400<message>\0\0\0\0errorthe error status, followed by a terminated, server-generated error message specifying the error
7see step 3 okrepeat loop until end of data
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
8 403<result message>\0\0\0\0okthe ok status signalling that a chunk has been added successfully, followed by the terminated server result message, finishing the dialog
9000 okthe ok message status, ending the dialog

23.3.2.5. adduser

The internal API command adduser corresponds to refdba: adduser.

stepclientservermessage typecomment
1000adduser [options]\0\0\0\0 okthe ok message status, followed by the terminated adduser command sting
2 000okthe ok message status
  202224 or 801errorthe error message status which terminates the session
3000<names>\0\0\0\0 okthe ok message status, followed by a terminated string containing a list of names
4 000<summary>\0\0\0\0okthe ok message status
 205801 errorthe message status saying that there was a problem, ending the session
5000 okthe ok message status, ending the dialog

23.3.2.6. addword

The internal API command addword handles both the refdba: addword and the refdba: deleteword client commands.

stepclientservermessage typecomment
1000addword [options]\0\0\0\0 okthe ok message status, followed by the terminated addword command sting
2 000okthe ok message status
  202, or 801errorthe error message status which terminates the session
3000<data>\0\0\0\0 okthe ok message status, followed by a terminated string containing the word list
 112 errorthe error message status which terminates the session
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
5000 okthe ok message status
6 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
7000 okthe ok message status, ending the dialog

23.3.2.7. confserv

The internal API command confserv corresponds to refdba: confserv.

stepclientservermessage typecomment
1000confserv command [argument]\0\0\0\0 okthe ok message status, followed by the terminated confserv command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, 301, 801, 839, 840errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.8. createdb

The internal API command createdb corresponds to refdba: createdb.

stepclientservermessage typecomment
1000createdb [options]dbname\0\0\0\0 okthe ok message status, followed by the terminated createdb command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  111, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.9. deletedb

The internal API command deletedb corresponds to refdba: deletedb.

stepclientservermessage typecomment
1000deletedb [options]\0\0\0\0 okthe ok message status, followed by the terminated deletedb command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.10. deletenote

The internal API command deletenote corresponds to refdbc: deletenote.

stepclientservermessage typecomment
1000deletenote [options] <bytes>\0\0\0\0 okthe ok message status, followed by the terminated adduser command sting containing the number of bytes required to store the ID list.
2 000okthe ok message status
  111801errorthe error message status which terminates the session
3000<ID-list>\0\0\0\0 okthe ok message status, followed by a terminated string containing a list of note IDs
4 000<data>\0\0\0\0okthe ok message status, followed by a report about the delete actions
  204, 412, 801errorthe message status saying that there was a problem, ending the session
5000 okthe ok message status
6 000<summary>\0\0\0\0okthe ok message status, followed by a command summary
7000 okthe ok message status, ending the dialog

23.3.2.11. deleteref

The internal API command deleteref corresponds to refdbc: deleteref.

stepclientservermessage typecomment
1000deleteref [options] <bytes>\0\0\0\0 okthe ok message status, followed by the terminated adduser command sting containing the number of bytes required to store the ID list.
2 000okthe ok message status
  801errorthe error message status which terminates the session
3000<ID-list>\0\0\0\0 okthe ok message status, followed by a terminated string containing a list of reference IDs
4 000<data>\0\0\0\0okthe ok message status, followed by a report about the delete actions
  204, 412, 801errorthe message status saying that there was a problem, ending the session
5000 okthe ok message status
6 000<summary>\0\0\0\0okthe ok message status, followed by a command summary
7000 okthe ok message status, ending the dialog

23.3.2.12. deletestyle

The internal API command deletestyle corresponds to refdba: deletestyle.

stepclientservermessage typecomment
1000deletestyle {regexp}\0\0\0\0 okthe ok message status, followed by the terminated deletestyle command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, 234, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.13. getau, geted, getas, getkw, getjo, getjf, getj1, getj2

These internal API commands correspond to the client commands refdbc: getau, refdbc: geted, refdbc: getas, refdbc: getkw, refdbc: getjo, refdbc: getjf, refdbc: getj1, refdbc: getj2.

stepclientservermessage typecomment
1000getXX [options]\0\0\0\0 okthe ok message status, followed by the terminated command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  204, 208, 234, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.14. getbib

The internal API command getbib is used by the refdbib tool to retrieve SGML and XML bibliographies.

stepclientservermessage typecomment
1000getbib [options]\0\0\0\0 okthe ok message status, followed by the terminated getbib command string.
2 000okthe ok message status, meaning no style spec will be transmitted (jump to 4)
  402okthe ok message status, meaning the style spec will be transmitted
  202, 204, 241, 701, 801errorthe error message status, terminating the dialog
3000 okthe ok message status
4 000okthe ok message status
  242errorthe error message status, finishing the dialog
5000<bytes>\0\0\0\0 okthe ok message status, followed by a terminated string denoting the number of bytes that the client wants to transmit
 402 okthe message status saying that all data have been sent, ending the loop over all datasets
 404 okthe message status saying that the current dataset has been sent completely
 401 errorthe message status saying that there was a problem reading the input data, ending the session
6 000okthe ok message status
  801errorthe error message status, ending the session
7<data> okthe previously announced number of data bytes
8 403okthe ok status for a successfully transmitted chunk of data
  400<message>\0\0\0\0errorthe error status, followed by a terminated, server-generated error message specifying the error
9000 okthe ok message status
10 404okthe ok status for a successfully transmitted chunk of data
  402okthe ok status for the last chunk of data
11000 okthe ok message status
12 000<summary>\0\0\0\0okthe ok message status, followed by the terminated command summary string.
11000 okthe ok message status, finishing the dialog

23.3.2.15. getnote

The internal API command getnote corresponds to refdbc: getnote.

stepclientservermessage typecomment
1000getnote [options] search-string\0\0\0\0 okthe ok message status, followed by the terminated getnote command sting
2 404<data>\0\0\0\0okthe ok message status denoting a complete dataset, followed by a terminated string containing the dataset
  402<data>\0\0\0\0okthe ok message status denoting the last chunk of data (usually a "footer"), followed by a terminated string containing the data
  204, 234, 701, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
4 402<data>\0\0\0\0okthe ok message status denoting the last chunk of data (usually a "footer"), see step 2
5 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
  702, or 801errorthe error message status which terminates the session
6000 okthe ok message status, ending the dialog

23.3.2.16. getref

The internal API command getref corresponds to refdbc: getref.

stepclientservermessage typecomment
1000getref [options] <bytes>\0\0\0\0 okthe ok message status, followed by the terminated getref command sting containing the number of bytes required to store the query string
2 000okthe ok message status
  801errorthe error message status which terminates the session
3000<query-string>\0\0\0\0 okthe ok message status, followed by a terminated string containing the query
4 404<data>\0\0\0\0okthe ok message status denoting a complete dataset, followed by a terminated string containing the dataset
  402<data>\0\0\0\0okthe ok message status denoting the last chunk of data (usually a "footer"), followed by a terminated string containing the data
  204, 234, 701, or 801errorthe error message status which terminates the session
5000 okthe ok message status
6 402<data>\0\0\0\0okthe ok message status denoting the last chunk of data (usually a "footer"), see step 2
7 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
  702, or 801errorthe error message status which terminates the session
8000 okthe ok message status, ending the dialog

23.3.2.17. getstyle

The internal API command getstyle corresponds to refdba: getstyle.

stepclientservermessage typecomment
1000getstyle [options][regexp]\0\0\0\0 okthe ok message status, followed by the terminated getstyle command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, or 801errorthe error message status which terminates the session
3000 okthe ok message status, ending the dialog

23.3.2.18. gettexbib

The internal API command gettexbib is used by the refdbib tool to retrieve bibtex bibliographies.

stepclientservermessage typecomment
1000gettexbib [options] data-size\0\0\0\0 okthe ok message status, followed by the terminated gettexbib command string. The only non-option argument is the size, in bytes, of the ID data to be sent, including the terminator.
2 000okthe ok message status
  801errorthe error message status, terminating the dialog
3000id-data\0\0\0\0 okthe ok message status, followed by the terminated ID list. This is a whitespace separated list of ID or CK values.
4 404<data>\0\0\0\0okthe ok message status denoting a complete dataset, followed by a terminated string containing the dataset
  402<data>\0\0\0\0okthe ok message status denoting the last chunk of data (usually a "footer"), followed by a terminated string containing the data
  204, 234, 701, or 801errorthe error message status which terminates the session
5000 okthe ok message status
6 402<data>\0\0\0\0okthe ok message status denoting the last chunk of data (usually a "footer"), see step 2
7 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
  702, or 801errorthe error message status which terminates the session
8000 okthe ok message status, ending the dialog

23.3.2.19. listdb

The internal API command listdb corresponds to refdbc: listdb.

stepclientservermessage typecomment
1000listdb [regexp]\0\0\0\0 okthe ok message status, followed by the terminated listdb/selectdb command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, 225, 226, 802, or 802errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.20. liststyle

The internal API command liststyle corresponds to refdbc: liststyle.

stepclientservermessage typecomment
1000liststyle [options][regexp]\0\0\0\0 okthe ok message status, followed by the terminated liststyle command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.21. listuser

The internal API command listuser corresponds to refdba: listuser.

stepclientservermessage typecomment
1000listuser [options] regexp\0\0\0\0 okthe ok message status, followed by the terminated listuser command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  204, 207, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.22. listword

The internal API command listword corresponds to refdba: listword.

stepclientservermessage typecomment
1000listword regexp\0\0\0\0 okthe ok message status, followed by the terminated listword command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  204, 207, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.23. pickref

The internal API command pickref handles the client commands refdbc: pickref and dumpref.

stepclientservermessage typecomment
1000pickref [options] <bytes>\0\0\0\0 okthe ok message status, followed by the terminated pickref command sting containing the number of bytes required to store the ID list.
2 000okthe ok message status
  111801errorthe error message status which terminates the session
3000<ID-list>\0\0\0\0 okthe ok message status, followed by a terminated string containing a list of note IDs
4 000<data>\0\0\0\0okthe ok message status, followed by a report about the pick or dump actions
  204, 412, 801errorthe message status saying that there was a problem, ending the session
5000 okthe ok message status
6 000<summary>\0\0\0\0okthe ok message status, followed by a command summary
  227, 228, 234errorthe error status, terminating the dialog
7000 okthe ok message status, ending the dialog

23.3.2.24. scankw

The internal API command scankw corresponds to refdba: scankw.

stepclientservermessage typecomment
1000scankw -d <databasename>\0\0\0\0 okthe ok message status, followed by the terminated scankw command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  204, 208, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.25. selectdb

The internal API command selectdb corresponds to refdbc: selectdb.

stepclientservermessage typecomment
1000selectdb dbname\0\0\0\0 okthe ok message status, followed by the terminated listdb/selectdb command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  202, 225, 226, 802, or 802errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.26. viewstat

The internal API command viewstat corresponds to refdba: viewstat.

stepclientservermessage typecomment
1000viewstat [options]\0\0\0\0 okthe ok message status, followed by the terminated viewstat command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  204, 208, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.2.27. whichdb

The internal API command whichdb corresponds to refdbc: whichdb.

stepclientservermessage typecomment
1000whichdb\0\0\0\0 okthe ok message status, followed by the terminated whichdb command sting
2 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result
  204, 207, or 801errorthe error message status which terminates the session
3000 okthe ok message status
4 000<data>\0\0\0\0okthe ok message status, followed by a terminated string containing the command result summary
5000 okthe ok message status, ending the dialog

23.3.3. Status messages

Note: The status codes which are multiples of 100 are not associated with a fixed message. Instead, clients should retrieve the terminated string sent after these codes to read the dynamically generated message.

000

ok

001

error

100

void

101

incorrect scramble string

102

client and server protocols do not match

103

invalid client request

104

incomplete client command

105

missing client command

106

missing client command option

107

unknown client command option

108

could not descramble password

109

timeout while reading

110

timeout while writing

111

missing client command argument

112

client aborted command

200

void

201

main database is missing

202

could not open main database

203

main database is too old or corrupt

204

could not open reference database

205

could not connect to database server

206

main database version is not supported

207

could not create result from database query

208

could not retrieve reference database metadata

209

could not create reference database

210

could not create reference database metadata

211

create t_meta failed

212

create t_refdb failed

213

create t_author failed

214

create t_keyword failed

215

create t_periodical failed

216

create t_note failed

217

create t_user failed

218

create t_xauthor failed

219

create t_xkeyword failed

220

create t_xuser failed

221

create t_xnote failed

222

could not create user group

223

could not grant user permissions

224

access control not supported

225

not a RefDB database

226

database does not exist

227

begin transaction failed

228

cannot lock tables

229

failed to remove keyword

230

failed to remove author

231

failed to remove periodical

232

failed to update main reference data

233

inserting reference data failed

234

select failed

235

database successfully created

236

assume localhost as host

237

grant user permissions successful

238

revoke user permissions successful

239

could not revoke user permissions

240

switched to database

241

failed to access style data

242

create temporary table failed

243

delete temporary table failed

244

incomplete reference data

245

failed to remove note xlink

246

failed to delete main note data

247

failed to remove user

248

failed to delete main reference data

249

failed to delete database

250

could not delete user group

251

database successfully deleted

252

personal interest list is empty

253

failed to detach dataset from user

254

sucessfully detached dataset from user

255

failed to attach dataset to user

256

sucessfully attached dataset to user

257

create t_link failed

258

create t_xlink failed

259

failed to remove ulink

260

failed to update journal names

300

void

301

missing argument

302

unknown output format

400

void

401

no more data available

402

finished transferring data

403

chunk added successfully

404

finished transferring dataset

405

finished adding dataset

406

citation key

407

refused to overwrite dataset

408

dataset added successfully

409

numerical id ignored

410

numerical id nonexistent

411

citation key nonexistent

412

ID and citation key missing

413

dataset updated successfully

414

failed to add dataset

415

missing link target

416

incorrect link type

417

dataset not found

418

link already exists

419

dataset removed successfully

420

failed to remove dataset

421

link added successfully

422

only owner can fiddle with dataset

423

dataset is still in use

424

dataset is already attached to user

425

periodical name changed successfully

700

void

701

failed to initialize character set conversion

702

character set conversion failed

703

remote administration disabled

704

administration is not restricted

705

administration not permitted

706

administration permitted

707

process ID

708

application server stop submitted

709

set server IP submitted

710

set timeout submitted

711

set logfile submitted

712

set logdest submitted

713

set loglevel submitted

800

void

801

out of memory

802

failed to load cgi templates

803

command partially processed, aborted after unrecoverable error

804

suffix pool exhausted

805

REFNUMBER formatting failed

806

AUTHORLIST formatting failed

807

EDITORLIST formatting failed

808

SEDITORLIST formatting failed

809

PUBDATE formatting failed

810

PUBDATESEC formatting failed

811

TITLE formatting failed

812

BOOKTITLE formatting failed

813

SERIESTITLE formatting failed

814

JOURNALNAME formatting failed

815

VOLUME formatting failed

816

ISSUE formatting failed

817

PAGES formatting failed

818

PUBLISHER formatting failed

819

PUBPLACE formatting failed

820

SERIAL formatting failed

821

ADDRESS formatting failed

822

URL formatting failed

823

USERDEF1 formatting failed

824

USERDEF2 formatting failed

825

USERDEF3 formatting failed

826

USERDEF4 formatting failed

827

USERDEF5 formatting failed

828

MISC1 formatting failed

829

MISC2 formatting failed

830

MISC3 formatting failed

831

LINK1 formatting failed

832

LINK2 formatting failed

833

LINK3 formatting failed

834

LINK4 formatting failed

835

ABSTRACT formatting failed

836

NOTES formatting failed

837

SEPARATOR formatting failed

838

remote administration failed

839

child->parent communication failure

840

FIFO write error

841

unknown command

999

summary