forked from Raynes/refheap
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the last thing that needed to be moved. Closes Raynes#55.
- Loading branch information
Showing
4 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class="written"> | ||
<p> | ||
RefHeap has a simple API for accessing and creating pastes. You can use this API without an | ||
account with RefHeap. However, if you want pastes that you create to be created under your | ||
account, you'll need to supply your username and an API token with the request. | ||
You want to keep this API token a secret. However, if you accidentally push it to Github | ||
or it is otherwise compromised, you can generate a new one at anytime. When you generate a new | ||
token, the old one no longer works. | ||
</p> | ||
<p> | ||
Check out the API documentation on <a href="https://github.com/Raynes/refheap/wiki/Documentation:-API">Github</a>! | ||
</p> | ||
{{#logged}} | ||
<div id="token"> | ||
<code id="tokentext">{{token}}</code> | ||
<button id="gentoken" type="button">Generate New Token</button> | ||
</div> | ||
{{/logged}} | ||
{{^logged}} | ||
<p>Login to see your API token.</p> | ||
{{/logged}} | ||
</div> |