-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapi.html
140 lines (133 loc) · 3.88 KB
/
api.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>lifescope-api</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
</head>
<body class="stackedit">
<div class="stackedit__left">
<div class="stackedit__toc">
<ul>
<li><a href="#lifescope-api">LifeScope-API</a>
<ul>
<li><a href="#repository">Repository</a></li>
</ul>
</li>
<li><a href="#setup-instructions">Setup Instructions</a></li>
<li><a href="#lifescope-api-pltafrom-documentation">LifeScope API Pltafrom Documentation</a>
<ul>
<li><a href="#oauth-api-documentation">OAuth API Documentation</a></li>
<li><a href="#schema-documentation">Schema Documentation</a></li>
<li><a href="#providers">Providers</a></li>
</ul>
</li>
<li><a href="#dependencies">Dependencies</a></li>
<li><a href="#development-roadmap">Development Roadmap</a></li>
</ul>
</div>
</div>
<div class="stackedit__right">
<div class="stackedit__html">
<h1 id="lifescope-api"><a href="https://github.com/LifeScopeLabs/lifescope-api">LifeScope-API</a></h1>
<h2 id="repository"><a href="https://github.com/LifeScopeLabs/lifescope-api">Repository</a></h2>
<p><strong>(production phase, high priority)</strong></p>
<p>The LifeScope API is a universal platform backend. There are two components to the API; a GraphQL-based API for CRUD operations on the LifeScope data schema and a REST API for logout and connection OAuth workflow.</p>
<h1 id="setup-instructions"><a href="https://github.com/LifeScopeLabs/lifescope-api/blob/master/setup/01-mongo-bitscoop.md">Setup Instructions</a></h1>
<h1 id="lifescope-api-pltafrom-documentation">LifeScope API Pltafrom Documentation</h1>
<h2 id="oauth-api-documentation"><a href="https://github.com/LifeScopeLabs/lifescope-api/blob/master/documentation/oauth.md">OAuth API Documentation</a></h2>
<h2 id="schema-documentation"><a href="https://github.com/LifeScopeLabs/lifescope-api/blob/master/documentation/schema.md">Schema Documentation</a></h2>
<p><img src="https://lifescopelabs.github.io/assets/diagrams/LifeScopeSchema.png" alt="gqlschema"></p>
<h2 id="providers">Providers</h2>
<table>
<thead>
<tr>
<th>Data Source</th>
<th>Status</th>
<th>Data Collected</th>
</tr>
</thead>
<tbody>
<tr>
<td>Facebook</td>
<td>production</td>
<td>events, content, contacts, locations</td>
</tr>
<tr>
<td>Twitter</td>
<td>production</td>
<td>events, content, contacts, locations</td>
</tr>
<tr>
<td>Pinterest</td>
<td>beta</td>
<td>events, content, locations</td>
</tr>
<tr>
<td>Dropbox</td>
<td>production</td>
<td>events, content, locations</td>
</tr>
<tr>
<td>Steam</td>
<td>production</td>
<td>events, content</td>
</tr>
<tr>
<td>Reddit</td>
<td>production</td>
<td>events, content, contacts, contacts</td>
</tr>
<tr>
<td>Spotify</td>
<td>production</td>
<td>events, content</td>
</tr>
<tr>
<td>GitHub</td>
<td>production</td>
<td>events, content, contacts</td>
</tr>
<tr>
<td>Instagram</td>
<td>production</td>
<td>events, content, contacts</td>
</tr>
<tr>
<td>Google</td>
<td>production</td>
<td>events, content, contacts</td>
</tr>
<tr>
<td>Slice</td>
<td>development</td>
<td>events, content, things</td>
</tr>
<tr>
<td>FitBit</td>
<td>planned</td>
<td>events, things</td>
</tr>
<tr>
<td>TV Time</td>
<td>planned</td>
<td>events, content</td>
</tr>
</tbody>
</table><h1 id="dependencies">Dependencies</h1>
<ul>
<li><a href="https://github.com/graphql-compose/graphql-compose">graphql-compose</a></li>
<li><a href="https://github.com/graphql-compose/graphql-compose-mongoose">graphql-compose-mongoose</a></li>
<li>Vue/Nuxt</li>
</ul>
<h1 id="development-roadmap">Development Roadmap</h1>
<ul>
<li>Improved Place and Thing Support</li>
<li>Add WSS support for GraphQL Subscriptions</li>
<li>Example: <a href="https://github.com/apollographql/subscriptions-transport-ws">https://github.com/apollographql/subscriptions-transport-ws</a></li>
</ul>
</div>
</div>
</body>
</html>