[Post] /pet - Add a new pet to the store

Add a new pet to the store


RequestBody

Pet object that needs to be added to the store

application/json   ( Pet )

  • id   ( integer {$int64} )
  • category   ( Category )
    • id   ( integer {$int64} )
    • name   ( string )
  • name   ( string )
  • photoUrls   ( array )
    • items   ( string )
  • tags   ( array )
    • items   ( Tag )
      • id   ( integer {$int64} )
      • name   ( string )
  • status   ( enum : string ) - pet status in the store
    • available
    • pending
    • sold

application/xml   ( Pet )

  • id   ( integer {$int64} )
  • category   ( Category )
    • id   ( integer {$int64} )
    • name   ( string )
  • name   ( string )
  • photoUrls   ( array )
    • items   ( string )
  • tags   ( array )
    • items   ( Tag )
      • id   ( integer {$int64} )
      • name   ( string )
  • status   ( enum : string ) - pet status in the store
    • available
    • pending
    • sold

Response

405 - Invalid input