You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can implement an API that will tell you the actual upload limit for NB and probably make it compliant with NIP-96 or any other API. Should not be too hard.
@fishcakeday no rush, we don't have this scheduled in any sprint atm
curl https://nostr.build/api/v2/upload/limit is implemented, it will check based on your NIP98 authentication or return a free upload limit by default with no headers:
On Mon, May 06, 2024 at 02:52:34PM GMT, Fishcake wrote:
> @fishcakeday no rush, we don't have this scheduled in any sprint atm
`curl https://nostr.build/api/v2/upload/limit` is implemented, it will check based on your NIP98 authentication or return a free upload limit by default with no headers:
```json
{
"status": "success",
"message": "Upload limit retrieved successfully",
"data": {
"limit": 11534336
}
}
```
We need to know if we are authed to nostr.build and have an active account. This is needed for warning about file size limits before upload.
Perhaps we can do an http nostr auth check somehow, but we would still want to know the upload size limit. We may need:
for this
The text was updated successfully, but these errors were encountered: