def CreateGallery():
    """Creates a Gallery on the server. Returns a Gallery object with the
    editor_id and reader_id.

    """
    url = 'http://min.us/api/CreateGallery'

    response = _dopost(url)

    _editor_id = response["editor_id"]
    _reader_id = response["reader_id"]

    return Gallery(_reader_id, editor_id=_editor_id)
Creates a Gallery on the server. Returns a Gallery object with the
    editor_id and reader_id.