Update API.md
Browse files
API.md
CHANGED
|
@@ -222,3 +222,49 @@ Download the thumbnail image for an emoji product.
|
|
| 222 |
|
| 223 |
- `productId`: string (hexadecimal)
|
| 224 |
- Emoji product ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
|
| 223 |
- `productId`: string (hexadecimal)
|
| 224 |
- Emoji product ID
|
| 225 |
+
|
| 226 |
+
---
|
| 227 |
+
|
| 228 |
+
## Get Product JSON-LD Metadata
|
| 229 |
+
|
| 230 |
+
Get JSON-LD metadata from LINE Store web pages.
|
| 231 |
+
|
| 232 |
+
### Sticker Web Metadata
|
| 233 |
+
|
| 234 |
+
`GET /sticker/:productId`
|
| 235 |
+
|
| 236 |
+
Get JSON-LD metadata for a sticker product from the LINE Store web page.
|
| 237 |
+
|
| 238 |
+
#### Path Parameters
|
| 239 |
+
|
| 240 |
+
- `productId`: number (integer)
|
| 241 |
+
- Sticker product ID
|
| 242 |
+
|
| 243 |
+
#### Headers
|
| 244 |
+
|
| 245 |
+
- `Accept-Language`: string (optional)
|
| 246 |
+
- Language preference for the web page (e.g., 'ja', 'en', 'ko'). Defaults to 'ja' if not provided.
|
| 247 |
+
|
| 248 |
+
#### Response
|
| 249 |
+
|
| 250 |
+
Returns the JSON-LD metadata found in the web page's `<head>` section.
|
| 251 |
+
|
| 252 |
+
### Emoji Web Metadata
|
| 253 |
+
|
| 254 |
+
`GET /emoji/:productId`
|
| 255 |
+
|
| 256 |
+
Get JSON-LD metadata for an emoji product from the LINE Store web page.
|
| 257 |
+
|
| 258 |
+
#### Path Parameters
|
| 259 |
+
|
| 260 |
+
- `productId`: string (hexadecimal)
|
| 261 |
+
- Emoji product ID (hexadecimal string)
|
| 262 |
+
|
| 263 |
+
#### Headers
|
| 264 |
+
|
| 265 |
+
- `Accept-Language`: string (optional)
|
| 266 |
+
- Language preference for the web page (e.g., 'ja', 'en', 'ko'). Defaults to 'ja' if not provided.
|
| 267 |
+
|
| 268 |
+
#### Response
|
| 269 |
+
|
| 270 |
+
Returns the JSON-LD metadata found in the web page's `<head>` section.
|