-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b2bc7d
commit 7a9309f
Showing
5 changed files
with
91 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,28 @@ | ||
:reproducible: | ||
== 상점에서 보상형 광고 가능한지 여부 (명세) | ||
== 상점에서 보상형 광고 가능한지 여부 | ||
|
||
=== 요청 | ||
|
||
[http,json] | ||
---- | ||
GET /api/v1/admob/{tag} HTTP/1.1 | ||
Authorization: Bearer your-access-token | ||
Content-Type: application/json | ||
---- | ||
include::{snippets}/api/v1/admob/possible/http-request.adoc[] | ||
|
||
=== 요청 파라미터 | ||
|
||
include::{snippets}/api/v1/admob/possible/path-parameters.adoc[] | ||
|
||
---- | ||
tag -> shop | ||
tag -> ADMOB_POINT | ||
---- | ||
* 보상형 광고 다른곳에서 사용할 수도 있으므로 tag로 어떤 곳에서 사용하고 있는곳인지 tag로 명시 | ||
* 현재는 상점 -> shop에서만 보상형 광고 진행 | ||
* 현재는 상점에 있는 보상형 광고 (ADMOB_POINT를 tag에 요청) | ||
|
||
=== 응답 | ||
|
||
[http,json] | ||
---- | ||
HTTP/1.1 200 OK | ||
Vary: Origin | ||
Vary: Access-Control-Request-Method | ||
Vary: Access-Control-Request-Headers | ||
Content-Type: application/json | ||
{ | ||
"status" : 200, | ||
"message" : "광고 보고 포인트 얻기 가능 여부 조회에 성공했습니다.", | ||
"data": { | ||
"createdAt": "2024-01-01 12:00:00", | ||
"isPossible" : true, | ||
} | ||
} | ||
---- | ||
|
||
include::{snippets}/api/v1/admob/possible/http-response.adoc[] | ||
|
||
=== NOTE | ||
|
||
- Header에 무작위한 UUID4 값을 넣어주세요 | ||
* 예시) IdempotencyKey: 0397b5f3-ecdc-47d6-b5d7-2b1afcf00e87 | ||
- 주의사항 | ||
* 같은 멱등성키를 2번 요청하면, 400번 에러. | ||
- ADMOB | ||
* ADMOB 서버에 SSV(ServerSideVerification) Options의 customData에 입력한 것과 동일한 멱등성 키를 넘겨주세요. | ||
|
||
=== CHANGELOG | ||
|
||
- 2024.02.17 API 릴리즈 | ||
- 2024.02.16 명세서 작성 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters