-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add info about sharex, document base-url
- Loading branch information
Showing
6 changed files
with
194 additions
and
9 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,32 @@ | ||
--- | ||
layout: docs | ||
title: ShareX | ||
permalink: doc/sharex | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
[ShareX](https://getsharex.com/) is a popular screenshot tool. Below | ||
is a "custom upload" template to allow uploading screenshots to Sharry | ||
from ShareX. | ||
|
||
|
||
``` | ||
{ | ||
"Version": "1.3.1", | ||
"DestinationType": "ImageUploader, TextUploader, FileUploader", | ||
"RequestMethod": "POST", | ||
"RequestURL": "https://your.sharry/api/v2/alias/upload", | ||
"Body": "MultipartFormData", | ||
"Headers": { | ||
"Sharry-Alias": "some-alias-id" | ||
}, | ||
"FileFormName": "file[]", | ||
"URL": "https://your.sharry/app/upload/$json:id$" | ||
} | ||
``` | ||
|
||
You need to replace `http://your.sharry` with your sharry url and | ||
specify some alias id, replacing `some-alias-id` in the example. The | ||
[alias](webapp#alias-pages) id can be found at any alias page that you | ||
have access to. |
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