-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Economy related endpoints `/listing/{productId}` `/user/{userId}/listings` `/tokenBundles` `/tilia/status` `/user/{userId}/tilia/tos` `/user/{userId}/balance` * Fix misnamed parameter * Fix typos * derp * Fix typo --------- Co-authored-by: jellejurre <[email protected]>
- Loading branch information
1 parent
2c9ebeb
commit b9ba143
Showing
20 changed files
with
488 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single Balance object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/Balance.yaml |
7 changes: 7 additions & 0 deletions
7
openapi/components/responses/economy/ProductListingListResponse.yaml
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: Returns a list of ProductListing objects. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../../schemas/ProductListing.yaml |
5 changes: 5 additions & 0 deletions
5
openapi/components/responses/economy/ProductListingResponse.yaml
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single ProductListing object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/ProductListing.yaml |
5 changes: 5 additions & 0 deletions
5
openapi/components/responses/economy/TiliaStatusResponse.yaml
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single TiliaStatus object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/TiliaStatus.yaml |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single TiliaTOS object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/TiliaTOS.yaml |
7 changes: 7 additions & 0 deletions
7
openapi/components/responses/economy/TokenBundleListResponse.yaml
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: Returns a list of TokenBundle objects. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../../schemas/TokenBundle.yaml |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
description: '' | ||
type: object | ||
title: Balance | ||
properties: | ||
balance: | ||
default: 0 | ||
type: integer | ||
noTransactions: | ||
type: boolean | ||
tiliaResponse: | ||
type: boolean | ||
required: | ||
- balance |
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
title: Product | ||
type: object | ||
properties: | ||
archived: | ||
type: boolean | ||
created: | ||
type: string | ||
format: date-time | ||
description: | ||
type: string | ||
displayName: | ||
type: string | ||
groupAccess: | ||
type: boolean | ||
default: false | ||
groupAccessRemove: | ||
type: boolean | ||
default: false | ||
groupId: | ||
$ref: ./GroupID.yaml | ||
groupRoleId: | ||
$ref: ./GroupRoleID.yaml | ||
id: | ||
$ref: ./ProductID.yaml | ||
imageId: | ||
$ref: ./FileID.yaml | ||
nullable: true | ||
parentListings: | ||
type: array | ||
items: | ||
$ref: ./ProductID.yaml | ||
productType: | ||
$ref: ./ProductType.yaml | ||
sellerDisplayName: | ||
type: string | ||
sellerId: | ||
type: string | ||
tags: | ||
type: array | ||
items: | ||
$ref: ./Tag.yaml | ||
updated: | ||
type: string | ||
format: date-time | ||
nullable: true | ||
useForSubscriberList: | ||
type: boolean | ||
default: false | ||
required: | ||
- archived | ||
- created | ||
- description | ||
- displayName | ||
- id | ||
- imageId | ||
- parentListings | ||
- productType | ||
- sellerDisplayName | ||
- sellerId | ||
- tags | ||
- updated |
Oops, something went wrong.