You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2023. It is now read-only.
<article><h1>Paperspace API (v0.1.6)</h1><p><imgsrc="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><imgsrc="https://user-images.githubusercontent.com/585865/27562775-26b8acc6-5a9c-11e7-8270-2b80ca895bc5.png" alt="image"></p>
50
50
<hr>
51
51
<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 >= 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>
<li><ahref="scripts.md">Script Guide</a> for creating and using startup scripts</li>
59
59
</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>
60
70
<h2>Release Notes for v0.1.6</h2><h4>New Features</h4><ul>
61
-
<li>Pre-built binaries are now available for <ahref="https://s3.amazonaws.com/paperspace-node/v0.1.6/win/paperspace.exe">Windows</a>, <ahref="https://s3.amazonaws.com/paperspace-node/v0.1.6/mac/paperspace">Mac</a>, and <ahref="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>
62
72
<li>New methods for early access to jobs. Please contact hello@paperspace.com for more information.</li>
63
73
</ul>
64
74
<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>
116
126
<li>List method exact date searches don't find matches</li>
117
127
<li>List method null value searches don't find matches</li>
118
128
</ul>
119
-
<h2>Getting started</h2><p>Your system will need <ahref="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
-
<preclass="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 <ahref="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
+
<preclass="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>
<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>
122
141
<h3>Setup</h3><p>Before you can use this tool, you'll need a <ahref="https://paperspace.com">Paperspace account</a>. You'll use this account to obtain Paperspace API keys.</p>
123
142
<h3>Obtaining an API key</h3><p>First, sign in to your <ahref="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>
@@ -155,7 +174,7 @@ <h2>Bugs / Support / Troubleshooting</h2><p>For bugs with the API client, comman
155
174
<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 <ahref="mailto:support@paperspace.com">support@paperspace.com</a> and we will respond as quickly as we can.</p>
156
175
<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>
157
176
<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>
159
178
</section>
160
179
161
180
@@ -168,7 +187,7 @@ <h2>Copyright</h2><p>Copyright :copyright: 2017 Paperspace - All Rights Reserved
168
187
<brclass="clear">
169
188
170
189
<footer>
171
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
190
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Copy file name to clipboardExpand all lines: docs/jobs.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2768,7 +2768,7 @@ <h5>Examples</h5>
2768
2768
2769
2769
<preclass="prettyprint"><code># HTTP request:
2770
2770
https://api.paperspace.io
2771
-
GET /jobs/getLogs?jobId=j123abc
2771
+
GET /jobs/logs?jobId=j123abc
2772
2772
x-api-key: 1ba4f98e7c0...
2773
2773
# Returns 200 on success</code></pre>
2774
2774
@@ -3892,7 +3892,7 @@ <h5>Returns:</h5>
3892
3892
<brclass="clear">
3893
3893
3894
3894
<footer>
3895
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
3895
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
105
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
283
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
136
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
133
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
466
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
106
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
71
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 02 2018 20:38:44 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
159
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 09 2018 02:15:35 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
0 commit comments