ABitOfEverythingService

POST /v1/example/a_bit_of_everything

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-API-Key and HTTP basic
    • or API key in header X-API-Key and OAuth 2
      Authorization code: https://example.com/oauth/authorize
      Token URL: https://example.com/oauth/token scopes: read, write

Request body

uuidstring required
float_valuenumber float

Float value field

double_valuenumber double required
int64_valuestring int64 required
uint64_valuestring uint64
int32_valueinteger
fixed64_valuestring uint64
fixed32_valueinteger
bool_valueboolean
string_valuestring
bytes_valuestring byte
uint32_valueinteger
enum_value'ZERO' | 'ONE'

NumericEnum is one or zero.

  • ZERO: ZERO means 0
  • ONE: ONE means 1
path_enum_value'ABC' | 'DEF'
nested_path_enum_value'GHI' | 'JKL'
sfixed32_valueinteger
sfixed64_valuestring int64
sint32_valueinteger
sint64_valuestring int64
repeated_string_valuestring[]
oneof_emptyobject
oneof_stringstring
map_valueobject
mapped_string_valueobject
mapped_nested_valueobject
nonConventionalNameValuestring
timestamp_valuestring date-time
repeated_enum_valueExamplepbNumericEnum[]
repeated_enum_annotationExamplepbNumericEnum[]

Repeated numeric enum description.

enum_value_annotation'ZERO' | 'ONE'

NumericEnum is one or zero.

  • ZERO: ZERO means 0
  • ONE: ONE means 1
repeated_string_annotationstring[]

Repeated string description.

int64_override_typeinteger

Example request

{
  "uuid": "0cf361e1-4b44-483d-a159-54dabdf7e814"
}

Response

A successful response.

uuidstring required
float_valuenumber float

Float value field

double_valuenumber double required
int64_valuestring int64 required
uint64_valuestring uint64
int32_valueinteger
fixed64_valuestring uint64
fixed32_valueinteger
bool_valueboolean
string_valuestring
bytes_valuestring byte
uint32_valueinteger
enum_value'ZERO' | 'ONE'

NumericEnum is one or zero.

  • ZERO: ZERO means 0
  • ONE: ONE means 1
path_enum_value'ABC' | 'DEF'
nested_path_enum_value'GHI' | 'JKL'
sfixed32_valueinteger
sfixed64_valuestring int64
sint32_valueinteger
sint64_valuestring int64
repeated_string_valuestring[]
oneof_emptyobject
oneof_stringstring
map_valueobject
mapped_string_valueobject
mapped_nested_valueobject
nonConventionalNameValuestring
timestamp_valuestring date-time
repeated_enum_valueExamplepbNumericEnum[]
repeated_enum_annotationExamplepbNumericEnum[]

Repeated numeric enum description.

enum_value_annotation'ZERO' | 'ONE'

NumericEnum is one or zero.

  • ZERO: ZERO means 0
  • ONE: ONE means 1
repeated_string_annotationstring[]

Repeated string description.

int64_override_typeinteger

Example response

{
  "uuid": "0cf361e1-4b44-483d-a159-54dabdf7e814"
}

Changes

No recorded changes to this operation across all 1 revision of this API.