updated where method is on api docs

This commit is contained in:
bill bittner 2018-08-10 15:22:02 -07:00
parent ed6bf0b173
commit 0ed5342fd9

View file

@ -60,7 +60,10 @@ check out the [customization guide](https://github.com/lbryio/spee.ch/blob/readm
* This is not necessary, but highly reccomended. It will decode the blocks of the `LBRY` blockchain and add the claims information to your database's tables * This is not necessary, but highly reccomended. It will decode the blocks of the `LBRY` blockchain and add the claims information to your database's tables
## API ## API
#### /api/claim/publish (post) #### /api/claim/publish
method: `POST`
example: example:
``` ```
curl -F 'name=MyPictureName' -F 'file=@/path/to/myPicture.jpeg' https://spee.ch/api/claim/publish curl -F 'name=MyPictureName' -F 'file=@/path/to/myPicture.jpeg' https://spee.ch/api/claim/publish
@ -100,7 +103,9 @@ response:
} }
``` ```
#### /api/claim/availability/:name (get) #### /api/claim/availability/:name
method: `GET`
example: example:
``` ```
curl https://spee.ch/api/claim/availability/doitlive curl https://spee.ch/api/claim/availability/doitlive