프로젝트

일반

사용자정보

RevokeProposal » 이력 » 버전 6

이름없음, 2021/06/10 05:12

1 1 이름없음
h1. RevokeProposal
2 2 이름없음
3 4 이름없음
* 제안서를 폐기합니다.
4 2 이름없음
5 4 이름없음
*ProposalRequest (param)*
6 2 이름없음
7
| *field* | *type* | *description* | *note* |
8
| did | String |   |   |
9 6 이름없음
| command | String |   | 값 : revokeProposal |
10 2 이름없음
| proposalId | String |   |   |
11
12
*ProposalResponse*
13
14 5 이름없음
| *field* | *type* | *description* | *note* |
15 6 이름없음
| command | String |   | 값 : revokeProposal |
16 5 이름없음
| status | int |   |   |
17
| purpose | int |   |   |
18
| maxIssuable | int |   |   |
19
| category | int[] |   |   |
20
| disAllowMultiIssue | boolean |   |   |
21
| condition | String |   |   |
22
| content | String |   |   |
23
| createdAt | String |   |   |
24
| revokedAt | String |   |   |
25
| updatedAt | String |   |   |
26
| deposit | String |   |   |
27
| duration | String |   |   |
28
| filter | String |   |   |
29
| notAfter | String |   |   |
30
| notBefore | String |   |   |
31
| owner | String |   |   |
32
| proposalId | String |   |   |
33
| ticketValidFrom | String |   |   |
34
| description | String[] |   |   |
35
| imageurl | String[] |   |   |
36
| consumePolicy | ProposalConsumePolicy |   |   |
37
| rewardPolicy | ProposalRewardPolicy |   |   |
38
39
*ProposalConsumePolicy*
40
41
| *field* | *type* | *description* | *note* |
42
| type | int | 소모 유형 |   |
43
| count | int | 소모 허용 횟수 |   |
44
| maxDataCount | int | consume시 최대 데이터 소모 수 | optional |
45
| period | String | 소모 주기 | optional |
46
47
*ProposalRewardPolicy*
48
49
| *field* | *type* | *description* |
50
| type | int | 지급 유형 |
51
| amount | int | 티켓의 지급 가능 총량 |
52
53 2 이름없음
---
54
55
*Request Example*
56
57
<pre><code class="java">
58
mutation {
59
  revokeProposal (param: {
60 3 이름없음
    did: "NfoPEFaG1adkCpijR85L66" 
61
    command: "revokeProposal" 
62
    proposalId: "orPxmv15e2oSPufT3Tm5kBTWEuErMeLvdYrXdEnzsHtQMWbVwiq6TGBgczmdbh9UrSXB9YRKTG15w5EzM8Na5XRFaPxaW8LzmckzP8bSLq67pRM7X" 
63 2 이름없음
  }) {
64
    status
65
  }
66
}
67
</code></pre>
68
69
*Response Example*
70
71
<pre><code class="java">
72
{
73
  "data": {
74
    "revokeProposal": {
75
      "status": 2
76
    }
77 1 이름없음
  }
78
}
79
</code></pre>
80 3 이름없음
81
---
82
83
*필드 관련하여 자세한 내용은 아래 URL 참고*
84
85
* "UNO.Cranberry ChainCode":https://snplab.synology.me/confluence/display/CBU/Cranberry+Chaincode
클립보드 이미지 추가 (최대 크기: 97.7 MB)