Skip to content

Instantly share code, notes, and snippets.

@muojp
Created December 3, 2015 11:40
Show Gist options
  • Save muojp/f4762b16f7f933c22c14 to your computer and use it in GitHub Desktop.
Save muojp/f4762b16f7f933c22c14 to your computer and use it in GitHub Desktop.
soracomapi-151120-1600.diff
{
info: {
- version: "20150930"
+ version: "20151120"
}
paths: {
/operators/{operator_id}/token: {
post: {
parameters: [
+ {
+ name: "operator_id"
+ in: "path"
+ description: "operator ID"
+ required: true
+ type: "string"
+ }
...
]
}
}
}
definitions: {
AuthRequest: {
properties: {
tokenTimeoutSeconds: {
- format: "int64"
+ maximum: 172800
+ default: 86400
}
}
}
GenerateTokenRequest: {
properties: {
- timeout_seconds: {
- type: "integer"
- description: "新しい API トークンの有効期限の長さ(秒単位)。\n指定しなければデフォルトは 86400 [秒](24時間)。\n最大値は 172800 [秒](48時間)。\n"
- }
+ tokenTimeoutSeconds: {
+ type: "integer"
+ maximum: 172800
+ default: 86400
+ description: "新しい API トークンの有効期限の長さ(秒単位)。\n指定しなければデフォルトは 86400 [秒](24時間)。\n最大値は 172800 [秒](48時間)。\n"
+ }
}
}
GenerateTokenResponse: {
properties: {
- apiToken: {
- type: "string"
- }
+ token: {
+ type: "string"
+ }
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment