An open API service indexing awesome lists of open source software.

https://github.com/igorrendulic/googleflexbigquery

Analytics for RESTful interface via Google Appengine Flex, BigQuery and Datastudio
https://github.com/igorrendulic/googleflexbigquery

analytics-server appengine-java rest-api

Last synced: 6 months ago
JSON representation

Analytics for RESTful interface via Google Appengine Flex, BigQuery and Datastudio

Awesome Lists containing this project

README

          

# Logging REST events in BigQuery

Corresponding article on how to create and visualize REST API call reports: [Corresponding article](https://medium.com/@igor_98383/analytics-for-restful-interfaces-579856dea9a9)

## Curl commands for interacting with REST API:

```
curl -H "Content-Type: application/json" -X POST -d '{"time":"2017-12-25T14:26:50.466"}' http://localhost:8080/api/ping
```

```
curl -H "Content-Type: application/json" http://localhost:8080/api/ping
```

```
curl -H "Content-Type: application/json" -X POST -d '{"userName":"Igor"}' http://localhost:8080/api/greeting
```

```
curl -H "Content-Type: application/json" http://localhost:8080/api/greeting
```

## Deploy to Flex Engine

```
mvn appengine:deploy
```

or add to specific project if you have multiple google cloud accounts:

```
mvn appengine:deploy -Dapp.deploy.project=yourprojectid
```