B2B » 이력 » 버전 13
이름없음, 2021/06/04 02:24
1 | 9 | 이름없음 | h2. B2B |
---|---|---|---|
2 | 2 | 이름없음 | |
3 | 10 | 이름없음 | b2b에서 수행할 수 있는 api입니다. @issueDid@ (second party유형의 did를 새로 발급) 요청을 제외한 모든 헤더에 토큰을 포함합니다. |
4 | 1 | 이름없음 | |
5 | 9 | 이름없음 | {{collapse(토큰 발급 방법) |
6 | 1 | 이름없음 | |
7 | 4 | 이름없음 | 1. signin 요청을 통해 토큰을 발급받습니다. |
8 | |||
9 | 2. 요청 헤더에 아래 key를 적용해 토큰 값을 넣어줍니다. |
||
10 | |||
11 | | key | value | description | |
||
12 | | X-Auth-Token | 발급 받아 사용 | did마다 인증을 위한 고유한 토큰을 가지며 최대 6시간 유효합니다. | |
||
13 | |||
14 | }} |
||
15 | |||
16 | 11 | 이름없음 | h1. UploadResolver |
17 | |||
18 | GraphQL Multipart-Form으로 파일 업로드 시 *operations* 키 값으로 "이 형식":https://graphql-kr.github.io/learn/serving-over-http/#post-request<notextile></notextile>의 JSON 인코딩 바디를 포함하여 요청을 보냅니다. |
||
19 | |||
20 | operations 내부의 *variables* 문법 사용 방법은 "이 문서":https://graphql.org/learn/queries/#variables<notextile></notextile>를 참고할 수 있습니다. |
||
21 | |||
22 | 13 | 이름없음 | h3. "uploadImage":https://developers.myd.world/projects/server-api-version-2/wiki/uploadImage %{color: #993300;}(Multipart-Form) @api 요청 링크 추가@% |
23 | 11 | 이름없음 | |
24 | 13 | 이름없음 | h3. "uploadHtml":https://developers.myd.world/projects/server-api-version-2/wiki/UploadHtml %{color: #993300;}(Multipart-Form)% |
25 | 11 | 이름없음 | |
26 | 13 | 이름없음 | h3. "uploadEventZip":https://developers.myd.world/projects/server-api-version-2/wiki/uploadEventZip %{color: #993300;}(Multipart-Form)% |
27 | 11 | 이름없음 | |
28 | 13 | 이름없음 | h3. *uploadAdvertizeZip* %{color: #993300;}(Multipart-Form)% |
29 | 11 | 이름없음 | |
30 | 13 | 이름없음 | h3. *uploadDisclaimer* |
31 | 11 | 이름없음 | |
32 | 13 | 이름없음 | h3. "registerConfig":https://developers.myd.world/projects/server-api-version-2/wiki/RegisterConfig |
33 | 11 | 이름없음 | |
34 | 13 | 이름없음 | h3. *uploadEventList* |
35 | 11 | 이름없음 | |
36 | 13 | 이름없음 | h3. *uploadResource* %{color: #993300;}(Multipart-Form)% |
37 | 11 | 이름없음 | |
38 | 13 | 이름없음 | h3. *uploadZip* %{color: #993300;}(Multipart-Form)% |
39 | 4 | 이름없음 | |
40 | 12 | 이름없음 | h2. SettlementResolver |
41 | 4 | 이름없음 | |
42 | 12 | 이름없음 | h2. MessageResolver |
43 | 4 | 이름없음 | |
44 | 12 | 이름없음 | h2. AuthResolver |