Register Advocate
register_advocateRegister a new Advocate in the DPYC community registry.
Advocates are community utility services that provide shared infrastructure (e.g., OAuth2 callback collectors) but aren't monetized Operators or certification Authorities.
The request must be signed with npub's own key (NIP-98): a
service registers itself, and no one can register an npub they do
not hold.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | Yes | Nostr npub of the Advocate service. | |
| service_url | Yes | Public URL of the service. | |
| display_name | Yes | Human-readable name for the service. | |
| service_name | Yes | Machine-readable service identifier (e.g., "tollbooth-oauth2-collector"). | |
| service_description | Yes | Short description of what the service does. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||