Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ertrzyiks/android-findme-api
FindMe API is service for sharing and tracking location between users.
https://github.com/ertrzyiks/android-findme-api
Last synced: about 1 month ago
JSON representation
FindMe API is service for sharing and tracking location between users.
- Host: GitHub
- URL: https://github.com/ertrzyiks/android-findme-api
- Owner: ertrzyiks
- License: mit
- Created: 2014-11-11T09:45:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-14T20:26:19.000Z (about 10 years ago)
- Last Synced: 2024-12-07T19:35:52.456Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://agile-brushlands-2260.herokuapp.com
- Size: 484 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
android-findme-api [![Build Status](https://travis-ci.org/ertrzyiks/android-findme-api.svg?branch=master)](https://travis-ci.org/ertrzyiks/android-findme-api)
==================#Overview
FindMe API is service for sharing and tracking location between users.
Actual application has own repository [here](https://github.com/ertrzyiks/android-findme-app).Stage deployment is available under [https://agile-brushlands-2260.herokuapp.com](https://agile-brushlands-2260.herokuapp.com)
## Authentication
Service use OAuth2 standard with refresh token grant type.
Its very important to have very fast start, so there is no password protection. User create one-time account and keep
context by using token exchange.First, create account with just username:
POST "/api/v1/users"
{
"username": "Jeremy"
}response contains access token and refresh token. When access token expire, use refresh token to get new set of tokens.
POST "/oauth/v2/token"
{
"client_id": "{{ CLIENT_ID }}",
"client_secret": "{{ CLIENT_SECRET }}",
"grant_type": "refresh_token",
"refresh_token": "{{ REFRESH_TOKEN }}"
}