프로젝트

일반

사용자정보

Actions

RevokeProposal

  • 제안서를 폐기합니다.

revokeProposal(
param: ProposalRequest
): ProposalResponse

ProposalRequest (param)

field type description note
did String    
command String   값 : revokeProposal
proposalId String    

ProposalResponse

field type description note
command String   값 : revokeProposal
status int    
purpose int    
maxIssuable int    
category int[]    
disAllowMultiIssue boolean    
condition String    
content String    
createdAt String    
revokedAt String    
updatedAt String    
deposit String    
duration String    
filter String    
notAfter String    
notBefore String    
owner String    
proposalId String    
ticketValidFrom String    
description String[]    
imageurl String[]    
consumePolicy ProposalConsumePolicy    
rewardPolicy ProposalRewardPolicy    

ProposalConsumePolicy

field type description note
type int 소모 유형  
count int 소모 허용 횟수  
maxDataCount int consume시 최대 데이터 소모 수 optional
period String 소모 주기 optional

ProposalRewardPolicy

field type description
type int 지급 유형
amount int 티켓의 지급 가능 총량
tokenDuration String 리워드 유효기간

Request Example

mutation {
  revokeProposal (param: {
    did: "NfoPEFaG1adkCpijR85L66" 
    command: "revokeProposal" 
    proposalId: "orPxmv15e2oSPufT3Tm5kBTWEuErMeLvdYrXdEnzsHtQMWbVwiq6TGBgczmdbh9UrSXB9YRKTG15w5EzM8Na5XRFaPxaW8LzmckzP8bSLq67pRM7X" 
  }) {
    status
  }
}

Response Example

{
  "data": {
    "revokeProposal": {
      "status": 2
    }
  }
}

필드 관련하여 자세한 내용은 아래 URL 참고

이름없음이(가) 3년 이상 전에 변경 · 8 revisions

클립보드 이미지 추가 (최대 크기: 97.7 MB)