Docs
reference
Authentication API

Authentication API

Re-usable components built using Radix UI and Tailwind CSS.

Services are essential components in the Sonr peer-to-peer identity and asset management system. They store information about various services provided by developer applications. On this page, we'll dive into the different Service Record endpoints you can use to manage Service Records programmatically. We'll look at how to query, create, update, and delete Service Records.

The Service Record

The Service Record model contains all the information about the services provided by developer applications, including the controller, type, origin, and associated endpoints.

Properties

  • Name
    id
    Type
    string
    Description

    Unique identifier for the service record.

  • Name
    controller
    Type
    string
    Description

    The entity controlling the service.

  • Name
    type
    Type
    string
    Description

    The type of the service.

  • Name
    origin
    Type
    string
    Description

    The origin of the service, such as a URL or other endpoint.

  • Name
    name
    Type
    string
    Description

    The name of the service.

  • Name
    service_endpoints
    Type
    repeated KeyValuePair
    Description

    The set of service endpoints associated with the service (optional).

  • Name
    metadata
    Type
    repeated KeyValuePair
    Description

    Additional metadata related to the Service (optional).