getAlby / sell-lsat-files

Sell lsat files
3 stars 4 forks source link

INSATGRAM

Dependencies

go build
./lsatfiles

API

Endpoint Request fields JSON Response Fields Description
GET https://insatgram.getalby.com/api/index page, sort_by(created_at, price, nr_of_downloads, sats_earned) (array) "CreatedAt","Currency","LNAddress","Name","NrOfDownloads","Price","SatsEarned","TimeAgo","URL" Get all uploaded files
GET https://insatgram.getalby.com/api/accounts page, sort_by(count,earned) (array) Get all accounts
GET https://insatgram.getalby.com/api/accounts/{account} Get an account
GET https://insatgram.getalby.com/api/accounts/search ln_address, sort_by() (array) Search accounts
GET https://insatgram.getalby.com/assets/{filename} file content Retrieve a file. Blurred without LSAT header, real file with LSAT
POST form https://insatgram.getalby.com/api/upload file, ln_address, price msg, url Upload a file

Frontend

Has been migrated to https://github.com/kiwiidb/insatgram