-
Notifications
You must be signed in to change notification settings - Fork 20
/
README-rest-api.html
executable file
·61 lines (57 loc) · 1.82 KB
/
README-rest-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
<html>
<head>
<style type="text/css">
body {
width: 720px;
margin: 0 auto;
margin-top: 3em;
margin-bottom: 6em;
}
ul li {
margin-bottom: 1em;
}
</style>
</head>
<body>
<h1>Cytoscape App Store REST API</h1>
<h2>Preliminary Notes</h2>
<ul>
<li>
All RESTful responses are in JSON.
</li>
</ul>
<h2>All Apps</h2>
<h4>URL</h4>
<pre>http://apps.cytoscape.org/backend/all_apps</pre>
<h4>Response</h4>
Returns lists of all apps and tags.
<pre>
[
...,
{ // an app object
'fullname': ‹app name that's shown to the user›,
'icon_url': ‹URL of the app's icon›,
'page_url': ‹URL of the app's page›,
'description': ‹a couple of sentences on what the app does›,
'downloads': ‹download count of app›,
'stars_percentage': ‹the average stars from 0 to 100 users had voted on the app›,
'votes': ‹number of people who voted on the app›,
'tags': [ ... ] ‹all of the tags this app belongs to›,
'releases': [
...
{ // a release object
'release_download_url': ‹URL for downloading the app jar›,
'created_iso': ‹the date and time the release was created in ISO format›,
'version': ‹the version of the release›,
'works_with': ‹comma-separated list of Cytoscape versions this app works with›,
'hexchecksum': ‹checksum as a hex string of the release download file›,
'notes': ‹release notes written by the developer explaining changes and new features›,
},
...
]
},
...
]
</pre>
</body>
</html>