SAKURA internet · Schema

GetCertificates

CompanyCloud ComputingInfrastructure as a ServiceHostingData CentersJapanObject StorageGPU
View JSON Schema on GitHub

JSON Schema

sakura-internet-get-certificates-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-get-certificates-schema.json",
  "title": "GetCertificates",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sakura-internet-apigw-openapi.yml#/components/schemas/GetCertificates",
  "allOf": [
    {
      "$ref": "#/$defs/CertificateAutoIssueLimit"
    },
    {
      "type": "object",
      "properties": {
        "certificates": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/Certificate"
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "description": "証明書のタイプ",
                    "enum": [
                      "auto",
                      "manual"
                    ]
                  },
                  "status": {
                    "type": "string",
                    "description": "証明書の状態",
                    "enum": [
                      "valid",
                      "expired",
                      "issuing",
                      "renewing",
                      "issuance_failed",
                      "renewal_failed"
                    ]
                  },
                  "statusMessage": {
                    "type": "string",
                    "description": "status が issuance_failed・renewal_failed の場合、詳細なステータスメッセージが返却される。\n"
                  },
                  "sans": {
                    "type": "array",
                    "description": "証明書の Subject Alternative Name (SAN) に設定するドメイン一覧 ワイルドカードドメイン(*.example.com)は指定不可\n",
                    "uniqueItems": true,
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            ]
          }
        }
      }
    }
  ],
  "$defs": {
    "Certificate": {
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/Model"
        },
        {
          "properties": {
            "name": {
              "$ref": "#/$defs/Name",
              "description": "証明書の識別名<br>証明書名はUnicode文字、数字、ハイフン、アンダースコア、ピリオドのみ許可"
            },
            "rsa": {
              "type": "object",
              "description": "RSA証明書情報",
              "allOf": [
                {
                  "$ref": "#/$defs/CertificateDetails"
                }
              ]
            },
            "ecdsa": {
              "type": "object",
              "description": "ECDSA証明書情報",
              "allOf": [
                {
                  "$ref": "#/$defs/CertificateDetails"
                }
              ]
            }
          }
        },
        {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "name",
                "rsa"
              ]
            },
            {
              "type": "object",
              "required": [
                "name",
                "ecdsa"
              ]
            },
            {
              "type": "object",
              "required": [
                "name",
                "rsa",
                "ecdsa"
              ]
            }
          ]
        }
      ]
    },
    "CertificateAutoIssueLimit": {
      "type": "object",
      "properties": {
        "autoIssueLimit": {
          "type": "integer",
          "description": "自動発行可能な証明書の上限数"
        }
      }
    },
    "CertificateDetails": {
      "type": "object",
      "properties": {
        "cert": {
          "type": "string",
          "description": "証明書<br>改行コード(\\n)はエスケープ文字に変換して指定する",
          "pattern": "^-----BEGIN CERTIFICATE-----\\r?\\n(?:[A-Za-z0-9+/=\\r\\n]+)-----END CERTIFICATE-----\\r?\\n?$",
          "writeOnly": true,
          "x-oapi-codegen-extra-tags": {
            "mask": "true"
          }
        },
        "key": {
          "type": "string",
          "description": "秘密鍵<br>改行コード(\\n)はエスケープ文字に変換して指定する",
          "writeOnly": true,
          "x-oapi-codegen-extra-tags": {
            "mask": "true"
          }
        },
        "expiredAt": {
          "type": "string",
          "format": "date-time",
          "description": "証明書の有効期限",
          "readOnly": true
        }
      }
    },
    "Model": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true,
          "description": "Entityを識別するためのID"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "作成日時"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "更新日時"
        }
      },
      "description": "各Entity共通のモデル"
    },
    "Name": {
      "type": "string",
      "description": "Unicode文字、数字、ハイフン、アンダースコア、ピリオドのみ許可",
      "minLength": 1,
      "maxLength": 255,
      "pattern": "^[\\p{L}\\p{N}._\\-]+$"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sakura-internet-get-certificates"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.