2020-12-12 14:07:25 +09:00
{
"paths" : {
2021-07-08 14:34:10 +09:00
"/misc/permissions" : {
"get" : {
"tags" : [
"Miscelleneous"
] ,
"summary" : "Permissions metadata" ,
"description" : "The metadata of available permissions" ,
"operationId" : "permissionsMetadata" ,
"responses" : {
"200" : {
"description" : "The metadata of available permissions" ,
"content" : {
"application/json" : {
"schema" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string" ,
"description" : "The permission id" ,
"nullable" : false
} ,
"included" : {
"type" : "array" ,
"description" : "Permissions included in this array are also granted by this permission" ,
"nullable" : false ,
"items" : {
"type" : "string"
}
}
}
}
}
}
}
}
} ,
"security" : [ ]
}
} ,
2020-12-12 14:07:25 +09:00
"/misc/lang" : {
"get" : {
"tags" : [
2021-07-08 14:34:10 +09:00
"Miscelleneous"
2020-12-12 14:07:25 +09:00
] ,
"summary" : "Language codes" ,
"description" : "The supported language codes" ,
"operationId" : "langCodes" ,
"responses" : {
"200" : {
"description" : "The supported language codes" ,
"content" : {
"application/json" : {
"schema" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"code" : {
"type" : "string" ,
"description" : "The language code" ,
"nullable" : false
} ,
"currentLanguage" : {
"type" : "string" ,
"description" : "The language name" ,
"nullable" : false
}
}
}
}
}
}
}
} ,
"security" : [ ]
}
} ,
"/i/{invoiceId}" : {
"parameters" : [
{
"name" : "invoiceId" ,
"in" : "path" ,
"required" : true ,
"description" : "The invoice id" ,
"schema" : {
"type" : "string"
}
} ,
{
"name" : "lang" ,
"in" : "query" ,
"required" : false ,
2021-07-27 08:17:56 +02:00
"description" : "The preferred language of the checkout page. You can use \"auto\" to use the language of the customer's browser or see the list of language codes with [this operation](#operation/langCodes)." ,
2020-12-12 14:07:25 +09:00
"schema" : {
"type" : "string"
}
}
] ,
"get" : {
"tags" : [
2021-07-08 14:34:10 +09:00
"Miscelleneous"
2020-12-12 14:07:25 +09:00
] ,
2022-08-15 15:28:41 +02:00
"operationId" : "Invoice_Checkout" ,
2020-12-12 14:07:25 +09:00
"summary" : "Invoice checkout" ,
"description" : "View the checkout page of an invoice" ,
"responses" : {
"200" : {
"description" : "The checkout page" ,
"content" : {
"text/html" : {
"example" : "The HTML checkout page of the invoice"
}
}
}
} ,
"security" : [ ]
}
}
} ,
"tags" : [
{
2021-07-08 14:34:10 +09:00
"name" : "Miscelleneous"
2020-12-12 14:07:25 +09:00
}
]
}