📃
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
  • issuer
  • sp
  • service

Was this helpful?

  1. Checking Blockchain data
  2. Check Agent API

player

Agent Server REST API

issuer

POST http://dev.whitehat.co.kr/agent/v1/player/issuer

API that searches the whole list of the issuer or with given search condition

Headers

Name
Type
Description

X-AGENT-API-TOKEN

string

required token for searching the Agent API (issuing console)

Request Body

Name
Type
Description

issuerAccount

string

issuer account to search

issuerDid

string

issuer DID to search

issuerName

string

Issuer name to search

status

string

service status value (0: applied, 1: approved)

limit

string

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

page

string

current page number (default:1)

{
  "code": 200,
  "message": "Success",
  "data": {
    "totalCount": 1,
    "list": [
      {
        "_id": "2",
        "issuerAccount": "dev.iss2",
        "issuerDid": "did:omn:dev.iss2",
        "issuerName": "raon university",
        "issuerDesc": "raon university",
        "issuerLogo": "raon university",
        "issuerUrl": "raon university",
        "isActive": "true",
        "status": "1"
      }
    ]
  }
}

Request Parameter example (JSON)

{
  "query": {
     "issuerAccount": "dev.iss2"
  },
  "limit": 10,
  "page": 1
}

sp

POST http://dev.whitehat.co.kr/agent/v1/player/sp

API that can search the whole list of SP or with a given search condition.

Headers

Name
Type
Description

X-AGENT-API-TOKEN

string

required token for searching the Agent API (issuing console)

Request Body

Name
Type
Description

spAccount

string

sp account to search

spDid

string

sp DID to search

spName

string

sp name to search

status

string

service status value(0: applied, 1: approved)

limit

string

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

page

string

current page number (default: 1)

{
  "code": 200,
  "message": "Success",
  "data": {
    "totalCount": 1,
    "list": [
      {
        "_id": "3",
        "spAccount": "dev.sp2",
        "spDid": "did:omn:dev.sp2",
        "spName": "dev.sp2",
        "spDesc": "dev.sp2 info",
        "spLogo": "dev.sp2 logo",
        "spUrl": "dev.sp2 url",
        "isActive": "true",
        "status": "1"
      }
    ]
  }
}

Request Parameter example (JSON)

{
  "query": {
    "spDid": "did:omn:dev.sp2"
  },
  "limit": 10,
  "page": 1
}

service

POST http://dev.whitehat.co.kr/agent/v1/player/service

API that can search the whole list of services from SP or with a given conditions

Headers

Name
Type
Description

X-AGENT-API-TOKEN

string

required token for searching the Agent API (issuing console)

Request Body

Name
Type
Description

serviceCode

string

service code to search

serviceName

string

service name to search

spAccount

string

sp account to search

spDid

string

sp DID to search

spName

string

sp name to search

status

string

service status value(0:applied, 1: approved)

limit

string

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

page

string

current page number (default: 1)

{
  "code": 200,
  "message": "Success",
  "data": {
    "totalCount": 1,
    "list": [
      {
        "_id": "0",
        "allowVcdefCodes": [
          "studentdef",
          "vcd.xniifrcm"
        ],
        "serviceCode": "studentsvc",
        "serviceName": "studentsvc",
        "serviceDesc": "",
        "spAccount": "dev.sp2",
        "spDid": "did:omn:dev.sp2",
        "spName": "dev.sp2",
        "status": "1",
        "spInfos": [
          {
            "_id": 3,
            "spAccount": "dev.sp2",
            "spDid": "did:omn:dev.sp2",
            "spName": "dev.sp2",
            "spDesc": "dev.sp2 info",
            "spLogo": "dev.sp2 logo",
            "spUrl": "dev.sp2 url",
            "isActive": "true",
            "status": "1"
          }
        ]
      }
    ]
  }
}

Request Parameter example (JSON)

{
  "query": {
     "serviceCode": "studentsvc"
  },
  "limit": 10,
  "page": 1
}
PreviouspDIDNextpolicy

Last updated 4 years ago

Was this helpful?