place/send
- Sends a new place.
Method parameters:
receiver_username
- The Zvini username of the receiver.
latitude
- The latitude of the place.
longitude
- The longitude of the place.
altitude
- The altitude of the place.
name
- The name of the place.
description
- The description of the place.
tags
- A space-separated list of tags.
Returns a JSON document of the following format:
<boolean> - Always true
.
Expected errors:
ENTER_RECEIVER_USERNAME
- The receiver username is empty.
INVALID_RECEIVER_USERNAME
- The receiver username is invalid.
RECEIVER_NOT_FOUND
- No such receiver with the username.
RECEIVER_NOT_RECEIVING
- The receiver hasn't opened a connection to receive places from you.
TOO_MANY_TAGS
- More than 5 tags given.