This section lists:
the XML commands supported by eVe
the output produced by those commands in both XML and pipe-delimited strings format
<EveCommand>
<command>addMetadata</command>
<arg1>metadata key</arg1>
<arg2>metadata value</arg2>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"error|error message"
<EveCommand>
<command>analyze</command>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"error|error message"
<EveCommand>
<command>binaryImage</command>
<arg1>foreign key value</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
Note: This command triggers two reads by the server - the first to read the XML command itself, followed by a second binary read of the client to get the image.
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
<EveCommand>
<command>closeDatabase</command>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"error|error message"
<EveCommand>
<command>createDatabase</command>
<arg1>name of database</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"error|error message"
<EveCommand>
<command>deleteRecord</command>
<arg1>foreign key</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
<EveCommand>
<command>foreignKeyRegionSearch</command>
<arg1>colorWeight</arg1>
<arg2>regionWeight</arg2>
<arg3>shapeWeight</arg3>
<arg4>textureWeight</arg4>
<arg5>foreign key</arg5>
<arg6>region1|region2|etc.</arg6>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok|key 1|key 2|etc."
<EveCommand>
<command>foreignKeySearch</command>
<arg1>colorWeight</arg1>
<arg2>regionWeight</arg2>
<arg3>shapeWeight</arg3>
<arg4>textureWeight</arg4>
<arg5>foreign key</arg5>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok|key 1|key 2|etc."
<EveCommand>
<command>getFirstMetadataValue</command>
<arg1>metadata key</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok|metadata value"
<EveCommand>
<command>getKeys</command>
<shortResponse>true<shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok|key 1|key 2|etc."
<EveCommand>
<command>getSegmentationMask</command>
<arg1>foreignKey</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
ok|width|height|bunch of 0's, 1's, 2's, etc"
<EveCommand>
<command>getVocabulary</command>
<arg1>colorWeight|regionWeight|shapeWeight|textureWeight|similarity</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"ok|foreign key 1|foreign key 2|etc."
<EveCommand>
<command>loadImageFromURL</command>
<arg1>url string</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"error|error message"
<EveCommand>
<command>loadImage</command>
<arg1>media object key</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
<EveCommand>
<command>metadataFindExact</command>
<arg1>metadata key</arg1>
<arg2>metadata value</arg2>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok|key 1|key 2|etc."
<EveCommand>
<command>metadataFind</command>
<arg1>metadata key</arg1>
<arg2>metadata value</arg2>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok|key 1|key 2|etc."
<EveCommand>
<command>openDatabase</command>
<arg1>name of database</arg1>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
or
"error|error message"
<EveCommand>
<command>reorganize</command>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
<EveCommand>
<command>saveImage</command>
<shortResponse>true</shortResponse>
</EveCommand>
<EveResponse>
<errorFlag>false</errorFlag>
<errorMessage>OK</errorMessage>
</EveResponse>
"ok"
<EveCommand>
<command>saveImage</command>
<shortResponse>true</shortResponse>
</EveCommand>
<EveCommand>
<command>search</command>
<arg1>colorWeight</arg1>
<arg2>regionWeight</arg2>
<arg3>shapeWeight</arg3>
<arg4>textureWeight</arg4>
<shortResponse>true</shortResponse>
</EveCommand>
"ok|key 1|key 2|etc."