btcpayserver/BTCPayServer/wwwroot/swagger/v1
d11n 25ae6df095
Greenfield: Add file endpoints and upload (#6075)
* Greenfield: Add file endpoints and upload

- Endpoints for server files
- File upload using `multipart/form-data`

Closes #6074.

Can also be tested using cURL:

- `curl --location 'https://localhost:14142/api/v1/files' --header 'Authorization: token MY_API_TOKEN' --form 'file=@"LOCAL_FILEPATH"'`
- `curl --location 'https://localhost:14142/api/v1/users/me/picture' --header 'Authorization: token MY_API_TOKEN' --form 'file=@"LOCAL_FILEPATH"'`

* Revert UnresolvedUri changes

* Add upload for store logo
2024-07-11 09:28:24 +09:00
..
swagger.template.api-keys.json [Greenfield] Allow passing email instead of user id in API (#4732) 2023-03-03 21:24:27 +09:00
swagger.template.apps.json Greenfield: Refactor app endpoints (#6051) 2024-06-26 17:42:22 +09:00
swagger.template.authorization.json Fix OpenAPI 3.0 validation errors and warnings (#4235) 2022-10-25 20:37:36 +09:00
swagger.template.files.json Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
swagger.template.health.json Fix OpenAPI 3.0 validation errors and warnings (#4235) 2022-10-25 20:37:36 +09:00
swagger.template.invoices.json Remove CheckoutV1 2024-04-05 16:58:13 +09:00
swagger.template.json Greenfield: Fix payment method update regression (#5932) 2024-04-16 11:32:52 +09:00
swagger.template.lightning.common.json Fix swagger (#5380) 2023-10-10 14:15:07 +09:00
swagger.template.lightning.internal.json Greenfield: Add payments list endpoint (#4407) 2023-01-26 13:22:49 +09:00
swagger.template.lightning.store.json Greenfield: Add payments list endpoint (#4407) 2023-01-26 13:22:49 +09:00
swagger.template.misc.json Fix OpenAPI 3.0 validation errors and warnings (#4235) 2022-10-25 20:37:36 +09:00
swagger.template.notifications.json Greenfield: Add store id for notifications (#6093) 2024-07-11 00:12:22 +09:00
swagger.template.payment-requests.json Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
swagger.template.payout-processors.json The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
swagger.template.pull-payments.json Remove period concept from PullPayment (#5963) 2024-05-01 17:59:10 +09:00
swagger.template.serverinfo.json Store Custom Roles (#4940) 2023-05-26 23:49:32 +09:00
swagger.template.stores-email.json Add missing param, fix response code. (#4891) 2023-04-19 13:07:36 +09:00
swagger.template.stores-lightning-addresses.json Greenfield: Add missing invoice metadata to Lightning Address (#6084) 2024-07-04 22:42:02 +09:00
swagger.template.stores-payment-methods.json Greenfield: Fix payment method update regression (#5932) 2024-04-16 11:32:52 +09:00
swagger.template.stores-payment-methods.lightning-network.json The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
swagger.template.stores-payment-methods.lnurl.json The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
swagger.template.stores-payment-methods.on-chain.json The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
swagger.template.stores-rates-config.json Greenfield: Currency rate should be strings (#4607) 2023-02-08 19:18:37 +09:00
swagger.template.stores-rates.json Greenfield: Add store rates api (#4550) 2023-01-31 14:42:25 +09:00
swagger.template.stores-users.json Fix swagger (#5380) 2023-10-10 14:15:07 +09:00
swagger.template.stores-wallet.on-chain.json Fix swagger (#5380) 2023-10-10 14:15:07 +09:00
swagger.template.stores-wallet.on-chain.objects.json Refactor walletobj API, make wallet object graph directionless (#4297) 2022-11-19 00:04:46 +09:00
swagger.template.stores.json Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
swagger.template.users.json Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
swagger.template.webhooks.json The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00