Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit 66b6352

Browse files
committed
doc update
1 parent d03d6ff commit 66b6352

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+161
-64
lines changed

docs/index.html

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="jobs.h
4646

4747

4848
<section class="readme">
49-
<article><h1>Paperspace API (v0.1.6)</h1><p><img src="https://user-images.githubusercontent.com/585865/27562775-26b8acc6-5a9c-11e7-8270-2b80ca895bc5.png" alt="image"></p>
49+
<article><h1>Paperspace API (v0.1.7)</h1><p><img src="https://user-images.githubusercontent.com/585865/27562775-26b8acc6-5a9c-11e7-8270-2b80ca895bc5.png" alt="image"></p>
5050
<hr>
5151
<p><strong>Heads up! This project is under construction!</strong> We're offering this early, unstable, pre-alpha release to get early feedback and to see how it might get used in the wild. Use caution: Until we ship a release &gt;= v1.0, expect to encounter bugs, and expect our documentation to be missing or inaccurate in places. We welcome your bug reports and suggestions via GitHub Issues!</p>
5252
<hr>
@@ -57,8 +57,18 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="jobs.h
5757
<li><a href="https://paperspace.github.io/paperspace-node">API documentation</a></li>
5858
<li><a href="scripts.md">Script Guide</a> for creating and using startup scripts</li>
5959
</ul>
60+
<h2>Release Notes for v0.1.7</h2><h4>New features</h4><ul>
61+
<li>New states on returned machine objects: starting, stopping, restarting, serviceready, and upgrading</li>
62+
<li>Ability to wait on state serviceready when calling machines waitfor method</li>
63+
<li>New property on returned machine objects: updatesPending</li>
64+
<li>New releasePublicIp option on machines destroy method</li>
65+
</ul>
66+
<h4>Fixes</h4><ul>
67+
<li>Fix for jobs completing too quickly could cause jobs create output to hang</li>
68+
<li>Minor doc fixes</li>
69+
</ul>
6070
<h2>Release Notes for v0.1.6</h2><h4>New Features</h4><ul>
61-
<li>Pre-built binaries are now available for <a href="https://s3.amazonaws.com/paperspace-node/v0.1.6/win/paperspace.exe">Windows</a>, <a href="https://s3.amazonaws.com/paperspace-node/v0.1.6/mac/paperspace">Mac</a>, and <a href="https://s3.amazonaws.com/paperspace-node/v0.1.6/linux/paperspace">Linux</a>. These binaries enable you to run the paperspace-node command line tool without having to install Nodejs or any additional node modules.</li>
71+
<li>Pre-built binaries are now available for Windows, Mac, and Linux. These binaries enable you to run the paperspace-node command line tool without having to install Nodejs or any additional node modules.</li>
6272
<li>New methods for early access to jobs. Please contact hello@paperspace.com for more information.</li>
6373
</ul>
6474
<h4>Breaking Changes</h4><p><em>BREAKING CHANGE #1</em> (for Nodejs apps which use the paperspace-node module):</p>
@@ -116,9 +126,18 @@ <h4>Issues</h4><ul>
116126
<li>List method exact date searches don't find matches</li>
117127
<li>List method null value searches don't find matches</li>
118128
</ul>
119-
<h2>Getting started</h2><p>Your system will need <a href="https://nodejs.org">Node.js</a> v8+ installed. Check that you have a recent enough version by running <code>node -v</code> in your terminal. Node.js comes bundled with <code>npm</code>, the Node.js package management tool, which you'll use to install this package.</p>
120-
<h3>Installation</h3><p>Install the package from npm:</p>
121-
<pre class="prettyprint source"><code>$ npm install -g paperspace-node</code></pre><p>The reason we recommend installing it globally is so the <code>paperspace</code> command will be available on your command line everywhere on your system. If you only want to make it available within an individual Node.js project, you can install it locally by omitting the <code>-g</code> flag.</p>
129+
<h2>Getting started</h2><h3>Installation</h3><p>Option 1: Install the paperspace-node package from npm:</p>
130+
<p>For this option your system will need <a href="https://nodejs.org">Node.js</a> v8+ installed. Check that you have a recent enough version by running <code>node -v</code> in your terminal. Node.js comes bundled with <code>npm</code>, the Node.js package management tool, which you'll use to install this package. Install the package using the -g option as follows:</p>
131+
<pre class="prettyprint source"><code>$ npm install -g paperspace-node</code></pre><p>The reason we recommend installing it globally is so the <code>paperspace</code> command will be available on your command line everywhere on your system. If you only want to make it available only within an individual Node.js project, you can install it locally by omitting the <code>-g</code> flag.</p>
132+
<p>Option 2: Download the pre-build binary for your plaftorm:</p>
133+
<p>Pre-built binaries are available for:</p>
134+
<ul>
135+
<li><a href="https://s3.amazonaws.com/paperspace-node/v0.1.7/win/paperspace.exe">Windows</a></li>
136+
<li><a href="https://s3.amazonaws.com/paperspace-node/v0.1.7/mac/paperspace">Mac</a></li>
137+
<li><a href="https://s3.amazonaws.com/paperspace-node/v0.1.7/linux/paperspace">Linux</a></li>
138+
</ul>
139+
<p>After downloading, make sure the binary is permitted to run on your system by marking is permissions appropriately.
140+
Also, add the directory containing the paperspace binary to your path using a method appropriate for your platform.</p>
122141
<h3>Setup</h3><p>Before you can use this tool, you'll need a <a href="https://paperspace.com">Paperspace account</a>. You'll use this account to obtain Paperspace API keys.</p>
123142
<h3>Obtaining an API key</h3><p>First, sign in to your <a href="https://paperspace.com">Paperspace account</a>. Click 'Launch Console' at top right. From your admin console, you should find an 'Account Info' section. There, you'll find a form where you can create API keys. You'll use the API keys you generate here to authenticate your requests.</p>
124143
<p><img src="https://user-images.githubusercontent.com/585865/27563650-f2bc289e-5aa0-11e7-990f-4ed6f9bd39e7.png" alt="image"></p>
@@ -155,7 +174,7 @@ <h2>Bugs / Support / Troubleshooting</h2><p>For bugs with the API client, comman
155174
<h2>Security</h2><p>Think you've discovered a security flaw or exploit? We offer bug bounties for responsible vulnerability disclosures that match our criteria. Please contact us directly at <a href="mailto:support@paperspace.com">support@paperspace.com</a> and we will respond as quickly as we can.</p>
156175
<h2>Disclaimer</h2><p><strong>Use the Paperspace API with care.</strong> This tool is provided as-is (please see our LICENSE). Know that many actions provided via our public API can result in billing charges for Paperspace services. Please be aware of Paperspace's billing policies before performing any of these actions; you'll see charges reflected in your invoice at the end of the month. Some actions, such as deactivating machines, are irreversible, resulting in permanent loss of data. Paperspace cannot recover lost data such as mistakenly deleted account information, and may only be able to give limited assistance if an action is performed mistakenly. API access will be disabled for accounts not in good standing. Keeping your account credentials secret is your responsibility. You may only use Paperspace's API to store, retrieve, query, serve, and execute content that is owned, licensed or lawfully obtained by you.</p>
157176
<h2>License</h2><p>This project is open source, under the ISC license. See LICENSE.txt.</p>
158-
<h2>Copyright</h2><p>Copyright :copyright: 2017 Paperspace - All Rights Reserved</p></article>
177+
<h2>Copyright</h2><p>Copyright 2018 Paperspace Co. - All Rights Reserved</p></article>
159178
</section>
160179

161180

@@ -168,7 +187,7 @@ <h2>Copyright</h2><p>Copyright :copyright: 2017 Paperspace - All Rights Reserved
168187
<br class="clear">
169188

170189
<footer>
171-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
190+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
172191
</footer>
173192

174193
<script>prettyPrint();</script>

docs/jobs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2768,7 +2768,7 @@ <h5>Examples</h5>
27682768

27692769
<pre class="prettyprint"><code># HTTP request:
27702770
https://api.paperspace.io
2771-
GET /jobs/getLogs?jobId=j123abc
2771+
GET /jobs/logs?jobId=j123abc
27722772
x-api-key: 1ba4f98e7c0...
27732773
# Returns 200 on success</code></pre>
27742774

@@ -3892,7 +3892,7 @@ <h5>Returns:</h5>
38923892
<br class="clear">
38933893

38943894
<footer>
3895-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3895+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
38963896
</footer>
38973897

38983898
<script>prettyPrint();</script>

docs/jobs_artifactsDestroy.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h1 class="page-title">jobs/artifactsDestroy.js</h1>
102102
<br class="clear">
103103

104104
<footer>
105-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
105+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
106106
</footer>
107107

108108
<script>prettyPrint();</script>

docs/jobs_artifactsGet.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ <h1 class="page-title">jobs/artifactsGet.js</h1>
280280
<br class="clear">
281281

282282
<footer>
283-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
283+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
284284
</footer>
285285

286286
<script>prettyPrint();</script>

docs/jobs_artifactsList.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h1 class="page-title">jobs/artifactsList.js</h1>
133133
<br class="clear">
134134

135135
<footer>
136-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
136+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
137137
</footer>
138138

139139
<script>prettyPrint();</script>

docs/jobs_clone.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h1 class="page-title">jobs/clone.js</h1>
130130
<br class="clear">
131131

132132
<footer>
133-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
133+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
134134
</footer>
135135

136136
<script>prettyPrint();</script>

docs/jobs_create.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ <h1 class="page-title">jobs/create.js</h1>
463463
<br class="clear">
464464

465465
<footer>
466-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
466+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
467467
</footer>
468468

469469
<script>prettyPrint();</script>

docs/jobs_destroy.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h1 class="page-title">jobs/destroy.js</h1>
103103
<br class="clear">
104104

105105
<footer>
106-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
106+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
107107
</footer>
108108

109109
<script>prettyPrint();</script>

docs/jobs_index.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h1 class="page-title">jobs/index.js</h1>
6868
<br class="clear">
6969

7070
<footer>
71-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
71+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
7272
</footer>
7373

7474
<script>prettyPrint();</script>

docs/jobs_list.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h1 class="page-title">jobs/list.js</h1>
156156
<br class="clear">
157157

158158
<footer>
159-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
159+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
160160
</footer>
161161

162162
<script>prettyPrint();</script>

0 commit comments

Comments
 (0)