Skip to content

Commit

Permalink
Remove licenseGroup endpoint as it's admin only (#393)
Browse files Browse the repository at this point in the history
* Remove licenseGroup endpoint as it's admin only

* Remove extra reference
  • Loading branch information
jellejurre authored Oct 3, 2024
1 parent da0ff4b commit b9560d0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
6 changes: 0 additions & 6 deletions openapi/components/codeSamples/economy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
source: >-
curl -X GET "https://vrchat.com/api/1/subscriptions" \
-b "auth={authCookie}"
/licenseGroups:
get:
- lang: cURL
source: >-
curl -X GET "https://vrchat.com/api/1/licenseGroups" \
-b "auth={authCookie}"
'/licenseGroups/{licenseGroupId}':
get:
- lang: cURL
Expand Down
2 changes: 0 additions & 2 deletions openapi/components/paths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
$ref: "./paths/economy.yaml#/paths/~1auth~1user~1subscription"
'/subscriptions':
$ref: "./paths/economy.yaml#/paths/~1subscriptions"
'/licenseGroups':
$ref: "./paths/economy.yaml#/paths/~1licenseGroups"
'/licenseGroups/{licenseGroupId}':
$ref: "./paths/economy.yaml#/paths/~1licenseGroups~1{licenseGroupId}"

Expand Down
20 changes: 0 additions & 20 deletions openapi/components/paths/economy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,26 +108,6 @@ paths:
tags:
- economy
description: 'List all existing Subscriptions. For example, "vrchatplus-monthly" and "vrchatplus-yearly".'
/licenseGroups:
get:
summary: List License Groups
operationId: getLicenseGroups
security:
- authCookie: []
x-codeSamples:
$ref: "../codeSamples/economy.yaml#/~1licenseGroups/get"
responses:
'200':
$ref: ../responses/economy/LicenseGroupListResponse.yaml
'401':
$ref: ../responses/MissingCredentialsError.yaml
tags:
- economy
description: |-
List all existing license groups.
**IMPLEMENTATION WARNING:** This endpoint currently return a text/plain array of seven nulls.
x-internal: true
'/licenseGroups/{licenseGroupId}':
parameters:
- $ref: ../parameters.yaml#/licenseGroupId
Expand Down

This file was deleted.

0 comments on commit b9560d0

Please sign in to comment.