📃
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

DID

Agent Server REST API

did

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

API that creates DID

Headers

Name
Type
Description

X-AGENT-API-TOKEN

string

required token for searching the Agent API (issuing console)

Request Body

Name
Type
Description

did

string

DID to create

keyId1

string

key id 1

keyId2

string

key id 2

pubKey1

string

public key (active)

pubKey2

string

public key (owner)

{
  "code": 200,
  "message": "Success",
  "data": {
    "id": "25C2BA04032347B2CB5B3EF132DF92DAD87181039A32B6FEB541995A2F4F483D",
    "block_num": 1359759
  }
}

Request Parameter example (JSON)

{
  "did": "testid1234",
  "keyId1": "key1",
  "keyId2": "key2",
  "pubKey1": "EOS7JV7UsMZLdbcgBVUKXXyRVu6Mu3THbPAbMjQ77tT54J7hBFYA5",
  "pubKey2": "EOS7JV7UsMZLdbcgBVUKXXyRVu6Mu3THbPAbMjQ77tT54J7hBFYA5"
}
PreviousCommitteeNextexecutor

Last updated 4 years ago

Was this helpful?