-
Notifications
You must be signed in to change notification settings - Fork 28
/
shop.yml
82 lines (74 loc) · 1.94 KB
/
shop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
openapi: 3.0.0
info:
title: Mission Stickers API
version: "0.0.1"
description:
This document describes LINE Mission Stickers API.
servers:
- url: "https://api.line.me"
security:
- Bearer: []
tags:
- name: shop
paths:
"/shop/v3/mission":
post:
externalDocs:
url: https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3
tags:
- shop
operationId: missionStickerV3
description: "Sends a mission sticker."
requestBody:
content:
application/json:
schema:
"$ref": "#/components/schemas/MissionStickerRequest"
required: true
responses:
"200":
description: "Returns status code 200 and an empty response body."
# TODO content-type?
components:
securitySchemes:
Bearer:
type: http
scheme: bearer
description: "Channel access token"
schemas:
MissionStickerRequest:
externalDocs:
url: https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3
description: "Send mission stickers (v3)"
required:
- to
- productId
- productType
- sendPresentMessage
type: object
properties:
to:
type: string
description: "Destination user ID"
productId:
type: string
description: "Package ID for a set of stickers"
productType:
type: string
description: "`STICKER`"
example: STICKER
sendPresentMessage:
type: boolean
description: "`false`"
example: false
ErrorResponse:
externalDocs:
url: https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3
type: object
required:
- message
properties:
message:
type: string
description: "Message containing information about the error."