Protokol
  • Introduction To Digital Assets
  • Tutorials
    • How To Create Digital Assets
    • How To Trade Digital Assets
  • ARK CORE MODULES
    • NFT
      • Development
      • Complementary Examples
        • Base
        • Exchange
      • API Endpoints
        • Assets
        • Burns
        • Collections
        • Transfers
        • Base Configurations
        • Auctions
        • Bids
        • Trades
        • Exchange Configurations
    • Guardian
      • Development
      • Complementary Examples
      • API Endpoints
        • Configurations
        • Groups
        • Users
    • Nameservice
      • Development
      • Complementary Examples
      • API Endpoints
        • Configurations
        • Nameservice
    • Voting
      • Development
      • Complementary Examples
      • API Endpoints
        • Configurations
        • Create Proposal
        • Cast Vote
        • Statistics
  • Protokol Templates
    • Core Starter Kit
    • Solidity Typescript Hardhat
    • Nestjs
Powered by GitBook
On this page
  • List Of Configurations Endpoints
  • List Of Groups Endpoints
  • List Of Users Endpoints
  • Guardian Client
  • Installation
  • Initialization

Was this helpful?

  1. ARK CORE MODULES
  2. Guardian

API Endpoints

List of Guardian API Endpoints

Default nameservice prefix is /api/guardian

List Of Configurations Endpoints

Endpoints

Description

Type

Returns configurations for Guardian plugins

GET

List Of Groups Endpoints

Endpoints

Description

Type

Returns all Groups

GET

Returns Group by its name

GET

Returns Users of a Group by name

GET

List Of Users Endpoints

Endpoints

Description

Type

Returns all Users

GET

Returns User by Publickey

GET

Returns All Groups of User by Publickey

GET

Guardian Client

A Light Typescript Client Supporting Guardian REST API

Installation

yarn add @protokol/client
pnpm add @protokol/client
npm install @protokol/client

Initialization

import { ProtokolConnection } from "@protokol/client";

const connection = new ProtokolConnection("https://explorer.protokol.sh/api");

PreviousComplementary ExamplesNextConfigurations

Last updated 3 years ago

Was this helpful?

yarn
pnpm
npm
/configurations
/users
/users/:id
/users/:id/groups
/groups
/groups/:name
/groups/:name/users