Skip to content

Instantly share code, notes, and snippets.

@muojp
Created December 3, 2015 11:44
Show Gist options
  • Save muojp/d7055c6bd3e3f5182351 to your computer and use it in GitHub Desktop.
Save muojp/d7055c6bd3e3f5182351 to your computer and use it in GitHub Desktop.
soracomapi-151130-1600.diff
{
paths: {
/groups/{group_id}/configuration/{namespace}: {
put: {
parameters: [
...
{
enum: [
+ "SoracomAir"
"SoracomBeam"
]
}
...
]
}
}
}
definitions: {
- CreateSubOperatorsRequest: {
- properties: {
- description: {
- type: "string"
- }
- name: {
- type: "string"
- }
- }
- }
+ RegisterOperatorsRequest: {
+ properties: {
+ email: {
+ type: "string"
+ }
+ password: {
+ type: "string"
+ }
+ }
+ required: [
+ "email"
+ "password"
+ ]
+ }
GroupConfigurationUpdateRequest: {
- type: "object"
- additionalProperties: {
- type: "object"
- }
+ properties: {
+ key: {
+ type: "string"
+ }
+ value: {
+ type: "string"
+ }
+ }
+ required: [
+ "key"
+ "value"
+ ]
}
SupportTokenResponse: {
+ required: [
+ "token"
+ ]
}
GenerateTokenResponse: {
+ required: [
+ "token"
+ ]
}
UpdatePasswordRequest: {
+ required: [
+ "currentPassword"
+ "newPassword"
+ ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment