Files
Nip-05-api/internal
Michilis 14fcce50af Make subscription_type, username, and years optional on POST /v1/admin/users
- subscription_type defaults to lifetime when omitted; validated when provided
- years is only required (and enforced) when subscription_type is yearly
- username uniqueness check and validation are skipped when username is empty
- Update OpenAPI spec to reflect pubkey as the only required field
2026-05-05 04:02:36 +00:00
..
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00
2026-04-29 02:35:00 +00:00