ver. 1354 (8ab6695)
Retrieve data on a single attribute
Retrieve data on a single OKAPI geocache-attribute.
OKAPI attributes are identified by an unique ID called an A-code. All OKAPI attributes are shared among all OKAPI servers. Once an attribute is published (e.g. via the attribute_index method), it won't disappear in any of the future OKAPI revisions, nor will its meaning change. Some attributes may get discontinued in the future, but they will remain accessible by their original A-code.
|acode||required||The A-code of the attribute you're interested in.|
Default value: en
Pipe-separated list of ISO 639-1 language codes. This indicates the order of preference in which language will be chosen for fields like name and description.
Default value: name
Pipe-separated list of field names which you are interested with. See below for the list of available fields.
Default value: trueBy default, OKAPI will return an empty placeholder if you ask for an unknown attribute. If you'd like to catch such errors and handle them differently, then you may change this behavior by setting this parameter to false. Then, OKAPI will return HTTP 400 error response, instead of the placeholder (note that it behaves differently in the attributes method).
|format||optional||Standard common formatting argument.|
|callback||optional||Standard common formatting argument.|
|Plus required consumer_key argument, assigned for your application.|
A dictionary of fields you have selected in the fields parameter. Available fields: