-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,465 additions
and
995 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -34,6 +34,8 @@ tags: | |
description: Manage your billing profiles and invoices. Currently in private preview - [contact us](mailto:[email protected]) for access. | ||
- name: Apps (Private Preview) | ||
description: Manage integrations for extending OpenMeter's functionality. Currently in private preview - [contact us](mailto:[email protected]) for access. | ||
- name: Lookup Information | ||
description: Lookup information for static data like currencies | ||
paths: | ||
/api/v1/apps: | ||
get: | ||
|
@@ -3403,6 +3405,59 @@ paths: | |
$ref: '#/components/schemas/UnexpectedProblemResponse' | ||
tags: | ||
- Entitlements (Beta) | ||
/api/v1/info: | ||
get: | ||
operationId: listCurrencies | ||
summary: List supported currencies | ||
description: List all supported currencies. | ||
parameters: [] | ||
responses: | ||
'200': | ||
description: The request has succeeded. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: '#/components/schemas/Currency' | ||
'400': | ||
description: The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). | ||
content: | ||
application/problem+json: | ||
schema: | ||
$ref: '#/components/schemas/BadRequestProblemResponse' | ||
'401': | ||
description: The request has not been applied because it lacks valid authentication credentials for the target resource. | ||
content: | ||
application/problem+json: | ||
schema: | ||
$ref: '#/components/schemas/UnauthorizedProblemResponse' | ||
'403': | ||
description: The server understood the request but refuses to authorize it. | ||
content: | ||
application/problem+json: | ||
schema: | ||
$ref: '#/components/schemas/ForbiddenProblemResponse' | ||
'500': | ||
description: The server encountered an unexpected condition that prevented it from fulfilling the request. | ||
content: | ||
application/problem+json: | ||
schema: | ||
$ref: '#/components/schemas/InternalServerErrorProblemResponse' | ||
'503': | ||
description: The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. | ||
content: | ||
application/problem+json: | ||
schema: | ||
$ref: '#/components/schemas/ServiceUnavailableProblemResponse' | ||
default: | ||
description: An unexpected error response. | ||
content: | ||
application/problem+json: | ||
schema: | ||
$ref: '#/components/schemas/UnexpectedProblemResponse' | ||
tags: | ||
- Lookup Information | ||
/api/v1/marketplace/listings: | ||
get: | ||
operationId: listMarketplaceListings | ||
|
@@ -9006,6 +9061,29 @@ components: | |
allOf: | ||
- $ref: '#/components/schemas/InvoiceGenericDocumentRef' | ||
description: CreditNoteOriginalInvoiceRef is used to reference the original invoice that a credit note is based on. | ||
Currency: | ||
type: object | ||
required: | ||
- code | ||
- name | ||
- symbol | ||
- subunits | ||
properties: | ||
code: | ||
allOf: | ||
- $ref: '#/components/schemas/CurrencyCode' | ||
description: The currency ISO code. | ||
name: | ||
type: string | ||
description: The currency name. | ||
symbol: | ||
type: string | ||
description: The currency symbol. | ||
subunits: | ||
type: integer | ||
format: uint32 | ||
description: Subunit of the currency. | ||
description: Currency describes a currency supported by OpenMeter. | ||
CurrencyCode: | ||
type: string | ||
minLength: 3 | ||
|
Oops, something went wrong.