B2B » 이력 » 개정판 15
개정판 14 (이름없음, 2021/06/04 02:25) → 개정판 15/28 (이름없음, 2021/06/04 05:08)
h2. B2B
b2b에서 수행할 수 있는 api입니다. @issueDid@ (second party유형의 did를 새로 발급) 요청을 제외한 모든 헤더에 토큰을 포함합니다.
{{collapse(토큰 발급 방법)
1. signin 요청을 통해 토큰을 발급받습니다.
2. 요청 헤더에 아래 key를 적용해 토큰 값을 넣어줍니다.
| key | value | description |
| X-Auth-Token | 발급 받아 사용 | did마다 인증을 위한 고유한 토큰을 가지며 최대 6시간 유효합니다. |
}}
h1. UploadResolver
GraphQL Multipart-Form으로 파일 업로드 시 *operations* 키 값으로 "이 형식":https://graphql-kr.github.io/learn/serving-over-http/#post-request<notextile></notextile>의 JSON 인코딩 바디를 포함하여 요청을 보냅니다.
operations 내부의 *variables* 문법 사용 방법은 "이 문서":https://graphql.org/learn/queries/#variables<notextile></notextile>를 참고할 수 있습니다.
h3. [[UploadImage]] "uploadImage":https://developers.myd.world/projects/server-api-version-2/wiki/UploadImage %{color: #993300;}*(*<notextile></notextile>Multipart<notextile></notextile>*-Form)* #993300;}(Multipart-Form) @api 요청 링크 추가@%
h3. [[UploadHtml]] "uploadHtml":https://developers.myd.world/projects/server-api-version-2/wiki/UploadHtml %{color: #993300;}(Multipart-Form)%
h3. [[UploadEventZip]] "uploadEventZip":https://developers.myd.world/projects/server-api-version-2/wiki/uploadEventZip %{color: #993300;}(Multipart-Form)%
h3. [[UploadAdvertizeZip]] "uploadAdvertizeZip":https://developers.myd.world/projects/server-api-version-2/wiki/uploadAdvertizeZip %{color: #993300;}(Multipart-Form)%
h3. [[UploadDisclaimer]] *"uploadDisclaimer":https://developers.myd.world/projects/server-api-version-2/wiki/uploadDisclaimer*
h3. [[RegisterConfig]] "registerConfig":https://developers.myd.world/projects/server-api-version-2/wiki/RegisterConfig
h3. [[UploadEventList]] "uploadEventList":https://developers.myd.world/projects/server-api-version-2/wiki/uploadEventList
h3. [[UploadResource]] "uploadResource":https://developers.myd.world/projects/server-api-version-2/wiki/uploadResource %{color: #993300;}(Multipart-Form)%
h3. [[UploadZip]] "uploadZip":https://developers.myd.world/projects/server-api-version-2/wiki/uploadZip %{color: #993300;}(Multipart-Form)%
h1. SettlementResolver
h3. getTnkSettlement
h3. getMyDSettlement
h1. MessageResolver
h3. registerPush
h3. targetMessage
h3. broadcastMessage
h1. AuthResolver
h3. issueDid
h3. checkAuthForB2B