'Retrieve a public dashboard.
:param token: An API key for a public dashboard.
:>json array widgets: An array of arrays of :ref:`public widgets <public-widget-label>`, corresponding to the rows and columns the widgets are displayed in'

def get(self, token):

    if (not isinstance(self.current_user, models.ApiUser)):
        api_key = get_object_or_404(models.ApiKey.get_by_api_key, token)
        dashboard = api_key.object
    else:
        dashboard = self.current_user.object
    return serializers.public_dashboard(dashboard)
