Skip to content

Commit 8bfd40c

Browse files
committed
Deploying to gh-pages from @ edb10d1 🚀
1 parent a481a10 commit 8bfd40c

File tree

2 files changed

+218
-0
lines changed

2 files changed

+218
-0
lines changed

dist/openapi.yaml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,109 @@ paths:
14621462
security:
14631463
- authCookie: []
14641464
description: Get the standard performance analysis for the uploaded assets of an avatar
1465+
/file/image:
1466+
post:
1467+
summary: Upload gallery image, icon, emoji or sticker
1468+
tags:
1469+
- files
1470+
x-codeSamples:
1471+
- lang: cURL
1472+
source: |-
1473+
curl -X POST "https://api.vrchat.cloud/api/1/file/image" \
1474+
-b "auth={authCookie}" \
1475+
-F "file=@/path/to/image.png" \
1476+
-F "tag=icon"
1477+
responses:
1478+
'200':
1479+
$ref: '#/components/responses/FileResponse'
1480+
operationId: uploadImage
1481+
requestBody:
1482+
content:
1483+
multipart/form-data:
1484+
schema:
1485+
type: object
1486+
properties:
1487+
file:
1488+
type: string
1489+
format: binary
1490+
description: The binary blob of the png file.
1491+
tag:
1492+
type: string
1493+
description: Needs to be either icon, gallery, sticker or emoji
1494+
animationStyle:
1495+
type: string
1496+
example: bats
1497+
description: Animation style for sticker, required for emoji.
1498+
maskTag:
1499+
type: string
1500+
example: square
1501+
description: Mask of the sticker, optional for emoji.
1502+
required:
1503+
- file
1504+
- tag
1505+
security:
1506+
- authCookie: []
1507+
description: Upload an image, which can be an icon, gallery image, sticker or emoji
1508+
/icon:
1509+
post:
1510+
summary: Upload icon
1511+
tags:
1512+
- files
1513+
x-codeSamples:
1514+
- lang: cURL
1515+
source: |-
1516+
curl -X POST "https://api.vrchat.cloud/api/1/icon" \
1517+
-b "auth={authCookie}" \
1518+
-F "file=@/path/to/image.png"
1519+
responses:
1520+
'200':
1521+
$ref: '#/components/responses/FileResponse'
1522+
operationId: uploadIcon
1523+
requestBody:
1524+
content:
1525+
multipart/form-data:
1526+
schema:
1527+
type: object
1528+
properties:
1529+
file:
1530+
type: string
1531+
format: binary
1532+
description: The binary blob of the png file.
1533+
required:
1534+
- file
1535+
security:
1536+
- authCookie: []
1537+
description: Upload an icon
1538+
/gallery:
1539+
post:
1540+
summary: Upload gallery image
1541+
tags:
1542+
- files
1543+
x-codeSamples:
1544+
- lang: cURL
1545+
source: |-
1546+
curl -X POST "https://api.vrchat.cloud/api/1/gallery" \
1547+
-b "auth={authCookie}" \
1548+
-F "file=@/path/to/image.png"
1549+
responses:
1550+
'200':
1551+
$ref: '#/components/responses/FileResponse'
1552+
operationId: uploadGalleryImage
1553+
requestBody:
1554+
content:
1555+
multipart/form-data:
1556+
schema:
1557+
type: object
1558+
properties:
1559+
file:
1560+
type: string
1561+
format: binary
1562+
description: The binary blob of the png file.
1563+
required:
1564+
- file
1565+
security:
1566+
- authCookie: []
1567+
description: Upload a gallery image
14651568
/auth/user/friends:
14661569
get:
14671570
summary: List Friends
@@ -6016,6 +6119,12 @@ components:
60166119
File:
60176120
description: ''
60186121
properties:
6122+
animationStyle:
6123+
type: string
6124+
example: bats
6125+
maskTag:
6126+
type: string
6127+
example: square
60196128
extension:
60206129
example: .unitypackage
60216130
minLength: 1

openapi.yaml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,109 @@ paths:
14621462
security:
14631463
- authCookie: []
14641464
description: Get the standard performance analysis for the uploaded assets of an avatar
1465+
/file/image:
1466+
post:
1467+
summary: Upload gallery image, icon, emoji or sticker
1468+
tags:
1469+
- files
1470+
x-codeSamples:
1471+
- lang: cURL
1472+
source: |-
1473+
curl -X POST "https://api.vrchat.cloud/api/1/file/image" \
1474+
-b "auth={authCookie}" \
1475+
-F "file=@/path/to/image.png" \
1476+
-F "tag=icon"
1477+
responses:
1478+
'200':
1479+
$ref: '#/components/responses/FileResponse'
1480+
operationId: uploadImage
1481+
requestBody:
1482+
content:
1483+
multipart/form-data:
1484+
schema:
1485+
type: object
1486+
properties:
1487+
file:
1488+
type: string
1489+
format: binary
1490+
description: The binary blob of the png file.
1491+
tag:
1492+
type: string
1493+
description: Needs to be either icon, gallery, sticker or emoji
1494+
animationStyle:
1495+
type: string
1496+
example: bats
1497+
description: Animation style for sticker, required for emoji.
1498+
maskTag:
1499+
type: string
1500+
example: square
1501+
description: Mask of the sticker, optional for emoji.
1502+
required:
1503+
- file
1504+
- tag
1505+
security:
1506+
- authCookie: []
1507+
description: Upload an image, which can be an icon, gallery image, sticker or emoji
1508+
/icon:
1509+
post:
1510+
summary: Upload icon
1511+
tags:
1512+
- files
1513+
x-codeSamples:
1514+
- lang: cURL
1515+
source: |-
1516+
curl -X POST "https://api.vrchat.cloud/api/1/icon" \
1517+
-b "auth={authCookie}" \
1518+
-F "file=@/path/to/image.png"
1519+
responses:
1520+
'200':
1521+
$ref: '#/components/responses/FileResponse'
1522+
operationId: uploadIcon
1523+
requestBody:
1524+
content:
1525+
multipart/form-data:
1526+
schema:
1527+
type: object
1528+
properties:
1529+
file:
1530+
type: string
1531+
format: binary
1532+
description: The binary blob of the png file.
1533+
required:
1534+
- file
1535+
security:
1536+
- authCookie: []
1537+
description: Upload an icon
1538+
/gallery:
1539+
post:
1540+
summary: Upload gallery image
1541+
tags:
1542+
- files
1543+
x-codeSamples:
1544+
- lang: cURL
1545+
source: |-
1546+
curl -X POST "https://api.vrchat.cloud/api/1/gallery" \
1547+
-b "auth={authCookie}" \
1548+
-F "file=@/path/to/image.png"
1549+
responses:
1550+
'200':
1551+
$ref: '#/components/responses/FileResponse'
1552+
operationId: uploadGalleryImage
1553+
requestBody:
1554+
content:
1555+
multipart/form-data:
1556+
schema:
1557+
type: object
1558+
properties:
1559+
file:
1560+
type: string
1561+
format: binary
1562+
description: The binary blob of the png file.
1563+
required:
1564+
- file
1565+
security:
1566+
- authCookie: []
1567+
description: Upload a gallery image
14651568
/auth/user/friends:
14661569
get:
14671570
summary: List Friends
@@ -6016,6 +6119,12 @@ components:
60166119
File:
60176120
description: ''
60186121
properties:
6122+
animationStyle:
6123+
type: string
6124+
example: bats
6125+
maskTag:
6126+
type: string
6127+
example: square
60196128
extension:
60206129
example: .unitypackage
60216130
minLength: 1

0 commit comments

Comments
 (0)