📃
OmniOne Developer Site
  • Introduction
  • Manager console guide
    • To begin with...
      • Wallet Settings
      • Select an Account
      • The Issuer/SP account creation
      • Issue access token for the OmniOne Agent
    • Issuer Console
      • Claim
      • VC Type
      • VC Format
      • Issue the VC Information
      • My request list
    • SP Console
      • Service List
      • Token Transaction History
      • My service request
  • Server system construction
    • To begin with...
      • Server Wallet creation and Key settings
      • Collect the Issuer and SP's DID
      • application.properties settings
    • Server default environment configuration per IDE
      • Spring Tool Suite 4
      • IntelliJ IDEA
    • Building the Issuer system
      • Issuer server guide(JAVA)
    • Building the SP system
      • SP server guide (JAVA)
  • Checking Blockchain data
    • Check Agent API
      • bp
      • Committee
      • DID
      • executor
      • key
      • pDID
      • player
      • policy
      • txinfo
      • txissue
      • vc
      • version
      • response codes
  • SDK instruction guide
    • Core SDK Guide
      • Java Wallet
        • IWKeyManager
        • IWDIDManager
        • IWRecoveryManager
        • ZkpException
        • IWException
      • iOS Wallet
        • IWKeyManager
        • IWDidManager
        • IWClaimManager
        • IWRecoveryManager
        • IWErrorManager
        • Enum
    • Server SDK Guide
      • Java
        • ServerInfo
        • IssuerApi
        • SpApi
        • VcResult
        • VcInitParam
        • VCRegParam
        • VcVerifyParam
        • SpProfileParam
    • Omni App Link SDK
      • Server
      • Android
      • IOS
  • Node creation
    • Full Node creation
      • Full Node by using Docker
        • Docker Installation
        • Building Full Node
        • Full Node settings
      • Installation type Full Node
        • Full Node installation
    • BP Node creation
      • BP Node by using Docker
        • Docker Installation
        • Building BP Node
        • BP Node settings
          • keosd/BP Node executing simultaneously
      • Installation type BP
        • Node Installation
        • Executing Node
        • Node settings
        • BP Vote
Powered by GitBook
On this page

Was this helpful?

  1. Checking Blockchain data
  2. Check Agent API

Committee

Agent Server REST API

committee

POST http://dev.whitehat.co.kr/agent/v1/committee

API that can search the whole list of Committee or with the given search condition

Headers

Name
Type
Description

X-AGENT-API-TOKEN

string

Required token for searching Agent API (issuing console)

Request Body

Name
Type
Description

_id

string

Committee account to search

limit

number

Number of items to get at a time (default: 10)

page

number

Current page number (default: 1)

{
  "code": 200,
  "message": "Success",
  "data": {
    "totalCount": 1,
    "list": [
      {
        "_id": "committee1",
        "createDt": "2020-06-11T06:58:14.500Z",
        "info": {
          "account_name": "committee1",
          "head_block_num": 1358911,
          "head_block_time": "2020-06-19T03:41:50.000",
          "privileged": false,
          "last_code_update": "1970-01-01T00:00:00.000",
          "created": "2020-06-11T06:58:14.500",
          "ram_quota": 16125,
          "net_weight": 1,
          "cpu_weight": 1,
          "net_limit": {
            "used": 2786,
            "available": 9056769,
            "max": 9059555
          },
          "cpu_limit": {
            "used": 4556,
            "available": 859430,
            "max": 863986
          },
          "ram_usage": 4582,
          "permissions": [
            {
              "perm_name": "active",
              "parent": "owner",
              "required_auth": {
                "threshold": 1,
                "keys": [
                  {
                    "key": "EOS6FaPRKKsP28H3iQFenC3md9N4uJEgsFu5nrxuMEhVdEMWHVA9B",
                    "weight": 1
                  }
                ],
                "accounts": [
                  {
                    "permission": {
                      "actor": "committee1",
                      "permission": "key2"
                    },
                    "weight": 1
                  }
                ],
                "waits": []
              }
            },
            {
              "perm_name": "key1",
              "parent": "owner",
              "required_auth": {
                "threshold": 1,
                "keys": [
                  {
                    "key": "EOS6jAaBd1qHiWrPdbTY8qjAnhRnq544o1HsSsoJz7YS7aK1ottHB",
                    "weight": 1
                  }
                ],
                "accounts": [],
                "waits": []
              }
            },
            {
              "perm_name": "key2",
              "parent": "owner",
              "required_auth": {
                "threshold": 1,
                "keys": [
                  {
                    "key": "EOS6FaPRKKsP28H3iQFenC3md9N4uJEgsFu5nrxuMEhVdEMWHVA9B",
                    "weight": 1
                  }
                ],
                "accounts": [],
                "waits": []
              }
            },
            {
              "perm_name": "owner",
              "parent": "",
              "required_auth": {
                "threshold": 1,
                "keys": [
                  {
                    "key": "EOS6jAaBd1qHiWrPdbTY8qjAnhRnq544o1HsSsoJz7YS7aK1ottHB",
                    "weight": 1
                  }
                ],
                "accounts": [
                  {
                    "permission": {
                      "actor": "committee1",
                      "permission": "key1"
                    },
                    "weight": 1
                  }
                ],
                "waits": []
              }
            }
          ],
          "total_resources": {
            "owner": "committee1",
            "net_weight": "0.0001 SYS",
            "cpu_weight": "0.0001 SYS",
            "ram_bytes": 14725
          },
          "self_delegated_bandwidth": null,
          "refund_request": null,
          "voter_info": null,
          "rex_info": null
        }
      }
    ]
  }
}

Request Parameter example (JSON)

{
  "query": {
    "_id": "committee1"
  },
  "limit": 10,
  "page": 1
}
PreviousbpNextDID

Last updated 4 years ago

Was this helpful?